Missing views filter
zero2one - August 17, 2007 - 08:26
| Project: | Case Tracker |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | zero2one |
| Status: | closed |
Jump to:
Description
I love the casetracker project as a simple issue tracker.
I'm missing 1 filter in the casetracker_views module:
It would be nice if you have a filter to get all the cases assigned to the current logged in user.
I figured it out what filter you have to add:
casetracker_views_tables() {
$tables['casetracker_case'] = array(
'name' => 'casetracker_case',
...
'filters' => array(
'assign_to_currentuid' => array(
'field' => 'assign_to',
'name' => t('Case Tracker: Assigned to Current User'),
'operator' => 'views_handler_operator_eqneq',
'list' => 'views_handler_filter_usercurrent',
'list-type' => 'select',
'help' => t('This allows you to filter by whether or not the case is assigned to the logged in user of the view.'),
),
...
#1
Hmm, I'm not the only one who wants this feature:
#2
Fixed in http://drupal.org/cvs?commit=85845
#3
Automatically closed -- issue fixed for two weeks with no activity.