View Issue Details

IDProjectCategoryView StatusLast Update
0005075mantisbtfilterspublic2005-04-18 10:23
ReporterMFWSchmidt Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.1 
Fixed in Version1.0.0a1 
Summary0005075: Add additional standard filter attributes
Description

Like in the Excel Autofilter mechanism it is desirable to be able to specify not only "any" but also "empty" (or "none") and "non empty" as a global criterion for any filter that searches for strings.

Additional Information

The project I care for needs to select all issues where the value for "fixed in version" has not yet been set. So I have modified our current mantis version to include the attribute "none" in the selection list (similar to the field "Assigned to"). The modification is fairly simple and affects only a few lines in two files: view_filters_page.php and core\filter_api.php.

TagsNo tags attached.
Attached Files
filter_mod.zip (14,865 bytes)

Relationships

has duplicate 0004718 closedthraxisp Not possible to select blank fields in filter 
has duplicate 0004932 closedthraxisp In advanced filter mode, display 'empty' values in drop-down lists as '[empty]' istead showing blank list box entry 
related to 0005370 closedthraxisp Add additional standard filter attributes ('not empty') 

Activities

TomR

TomR

2005-01-10 17:40

reporter   ~0008914

Could you put your changes here?

MFWSchmidt

MFWSchmidt

2005-01-11 05:52

reporter   ~0008933

Last edited: 2005-01-11 05:56

I added the modifications I made. The code is based on mantis version 0.19.1
It adds the 'none' keyword to the field 'Fixed in version' because we needed to identify issues, where this field was not yet set. It can be applied analogously to other fields.
The modification works fine. However, on the view_all_bug_page the keyword is not translated to the local language, which should be done also, when the issue is resolved for a future version.

Apparently this issue has a dulicate: 0004718

thraxisp

thraxisp

2005-03-21 09:40

reporter   ~0009608

A partial fix in in CVS covering the 'none' case. Another issue (0005370) was raised to cover the 'not empty' case.