Project

General

Profile

Actions

Feature #15773

closed

Filtering out specific subprojects (using 'is not' operator)

Added by Miodrag Milic almost 11 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues filter
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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

is_not_filter_for_subprojects.diff (3.83 KB) is_not_filter_for_subprojects.diff Marius BĂLTEANU, 2016-12-26 10:27

Related issues

Has duplicate Redmine - Feature #24677: Include in Subproject's filter a option 'is not'Closed

Actions
Actions #1

Updated by Go MAEDA almost 8 years ago

  • Category changed from Issues to Issues filter
Actions #2

Updated by Go MAEDA almost 8 years ago

  • Has duplicate Feature #24677: Include in Subproject's filter a option 'is not' added
Actions #3

Updated by Mischa The Evil almost 8 years ago

  • Subject changed from Filtering out specific subprojects to Filtering out specific subprojects (using 'is not' operator)
Actions #4

Updated by Marius BĂLTEANU almost 8 years ago

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).

Actions #5

Updated by Go MAEDA almost 8 years ago

  • 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.

Actions #6

Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks Marius.

Actions

Also available in: Atom PDF