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
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

zero2one - August 17, 2007 - 08:41

Hmm, I'm not the only one who wants this feature:

#2

zero2one - October 25, 2007 - 08:12
Assigned to:Anonymous» zero2one
Status:active» fixed

Fixed in http://drupal.org/cvs?commit=85845

#3

Anonymous - November 12, 2007 - 22:41
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.