Project

General

Profile

Actions

Patch #44832

open

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 8 hours ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
Filters

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

No data to display

Actions

Also available in: PDF Atom