Feature #15773
closed
Filtering out specific subprojects (using 'is not' operator)
Added by Miodrag Milic almost 11 years ago.
Updated almost 8 years ago.
Description
It should be possible to select multiple subproject for which you don't want issues in the list.
That is besides currently existing is, all, none
there also needs to be is not
. This can not be achieved by selecting multiple projects except specific ones with is
filter because new subprojects could be added.
Files
- Category changed from Issues to Issues filter
- Has duplicate Feature #24677: Include in Subproject's filter a option 'is not' added
- Subject changed from Filtering out specific subprojects to Filtering out specific subprojects (using 'is not' operator)
We are interested too in having the "is not" option available for subproject filter. Attached is a patch that implements this.
As a technical note, I changed in the existing implementation the "each(&:to_i)" to "map(&:to_i)" because the each method returns the same initial array (with project ids as strings), while the map method returns a new array (with the project ids casted to integers).
- Target version set to 3.4.0
It works fine for me and passed all tests. I think it is natural to have this feature.
Setting target version to 3.4.0.
Thank you for writing this patch so fast.
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Committed, thanks Marius.
Also available in: Atom
PDF