Filtering out specific subprojects (using 'is not' operator)
|Assignee:||Jean-Philippe Lang||% Done:|
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.
Filtering out specific subprojects (using 'is not' operator) (#15773).
Patch by Marius BALTEANU.
#4 Updated by Marius BALTEANU over 3 years ago
- File is_not_filter_for_subprojects.diff added
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).