Project

General

Profile

Actions

Patch #44832

closed

Add "any" operator to the status filter of the projects list

Patch #44832: Add "any" operator to the status filter of the projects list

Added by Jan from Planio www.plan.io about 17 hours ago. Updated about 3 hours ago.

Status:
Closed
Priority:
Normal
Category:
Filters
Target version:

Description

On the projects list, the status filter only offers the operators "is" and "is not". To see projects of every status, you have to remove the filter.

After that, the filter row is gone. To filter by status again, you have to add the filter again with "Add filter".

The issues list does not have this problem: its status filter offers "any". The row stays in place, and you change it back with one click.

The attached patch changes the type of the status filter in ProjectQuery from list to list_optional. This adds the operator "any". The default stays "is active".

list_optional also adds "none", which never matches a project. The status filter of the users list has the same operator, so I kept the patch simple.

The patch includes two tests.


Files

Updated by Marius BĂLTEANU about 6 hours ago Actions #1

  • Status changed from Needs feedback to Resolved
  • Assignee set to Marius BĂLTEANU
  • Target version changed from Candidate for next minor release to 6.1.8

Committed, thanks!

Updated by Marius BĂLTEANU about 3 hours ago Actions #2

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom