View Issue Details

IDProjectCategoryView StatusLast Update
0010335mantisbtfilterspublic2009-04-15 09:11
Reporterkec161 Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0010335: Modified so that the status and resolution can have multiple choices seperated by | in the My View queries
Description

I was modifying the My View page to add some custom queries and was unable to specify that I wanted to see multiple status or multiple resolutions. I changed it so that you can specify multiple choices separated by either OR or |.

Additional Information

How to use | when creating custom filters for the My View page:

$c_filter['assigned'] = array(
    'show_category'     => Array ( '0' => META_FILTER_ANY ),
    'show_severity'     => Array ( '0' => META_FILTER_ANY ),
    'show_status'       => Array ( '0' => ACKNOWLEDGED,ASSIGNED,FEEDBACK,EMERGENCY),
    '_view_type'        => 'advanced',
    'highlight_changed' => $t_default_show_changed,
    'reporter_id'       => Array ( '0' => META_FILTER_ANY ),
    'handler_id'        => Array ( '0' => $t_current_user_id ),
    'sort'              => 'priority',
    'show_resolution'   => Array ( '0' => META_FILTER_ANY ),
    'show_build'        => Array ( '0' => META_FILTER_ANY ),
    'show_version'      => Array ( '0' => META_FILTER_ANY ),
    'hide_status'       => Array ( '0' => PEER_REVIEW ),
    'user_monitor'      => Array ( '0' => META_FILTER_ANY )
);
$url_link_parameters['assigned'] = 'view_type=advanced&handler_id=' . $t_current_user_id . '&show_status=' . ACKNOWLEDGED."|".ASSIGNED."|".FEEDBACK."|".EMERGENCY . '&sort=priority';
TagsNo tags attached.
Attached Files
myViewOr (3,583 bytes)

Activities