View Issue Details

IDProjectCategoryView StatusLast Update
0008149mantisbtfilterspublic2020-05-25 13:59
Reporterjotango Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status acknowledgedResolutionopen 
Summary0008149: New filter option: [Someone] for Assigned to and other filter fields
Description

Often I would like to filter for issues which are assigned to someone (i.e. the reverse of none).

I would propose adding the filter option [Someone] to the "Assigned to" drop down lists in the filter section.

The [Someone] option should only include issues who are assigned to someone.

Additional Information

This should not be just for the user fields it should cover other fields where a 'Not Empty' query is needed.

TagsNo tags attached.

Relationships

related to 0004864 new Unable to filter on empty custom field value 
related to 0012798 new Add a filter option [Something] as opposite of [None] i.e. field not null 
has duplicate 0008266 closed filter on not empty field 
has duplicate 0005370 closedthraxisp Add additional standard filter attributes ('not empty') 
has duplicate 0007408 closed filters should be used with a "has a value" possibility 

Activities

whobe

whobe

2008-08-05 21:49

reporter   ~0019047

Last edited: 2008-08-05 21:49

I'd like to say that this isn't exactly the same as my original suggestion too.
I'd suggest instead of "someone" use "set" or "not none" because someone implies it refers to a field which represents a person and I'd like to use this feature in other fields as well. I'd like it to be in all fields that currently have none as an option so I can filter on resolution and the like.

I propose something different which would seem to be all together more useful. That is an option to invert the meaning of any selection. That could mean If I choose "suspended" from the resolution and then check the "invert" or "not" checkbox next to the resolution, the meaning would be equivalent to requesting all tasks whose resolution is not "suspended"

This would work for assigned to to none as well. Just check "not" next to assigned to, select "none" from the dropdown and this would select all tasks which are assigned to someone.

I'd suggest having a checkbox next to each filter option for this purpose. It would leave the existing code essentially untouched and simply complement the select statement for that field.

atrol

atrol

2014-01-25 09:37

developer   ~0039176

Unassigned after having been assigned for a long time without progress.

stevecharon

stevecharon

2019-07-26 04:49

reporter   ~0062428

Although this is still something I want to have, you could achieve this by using advanced filters in 2.x Version and Multi-Select all possible Values
and there you have your "not empty" filter.
Dont get me wrong. This is just a workaround! If you have a long list of values it really sucks this way. A single [notempty] is way better IMHO.
Workaround works in 2.5.2 and 2.21.1 (dont have other versions running).

l2m

l2m

2020-05-19 09:09

reporter   ~0064003

I've proposed a pull request on github : https://github.com/mantisbt/mantisbt/pull/1670
It covers a few issues concerning the filter :
Unable to filter on empty custom field value https://www.mantisbt.org/bugs/view.php?id=4864
New filter option: [Someone] for Assigned to and other filter fields https://www.mantisbt.org/bugs/view.php?id=8149
Add a filter option [Something] as opposite of [None] i.e. field not null https://www.mantisbt.org/bugs/view.php?id=12798