Feature #41214
openAllow the 'OR' Logical Operator in Query
0%
Description
Purpose:
Enable users to use the 'OR' logical operator when setting filters in queries for issue lists, Gantt charts, time entries, and more, allowing filters to be connected using 'OR' (e.g., Filter A OR Filter B).
Background:
Redmine’s query function lets users apply various filters, offering powerful search capabilities. However, it currently only supports the 'AND' logical operator between filters (e.g., Filter A AND Filter B). This means that users cannot create queries to search for issues where, for example, either the author or the assignee is a specific user. Adding the option to use the 'OR' logical operator between filters would make Redmine’s queries more flexible and expressive.
Implementation:
As shown in the attached screenshot, I will add a dropdown list to the query form. This list will let users select the logical operator ('AND' or 'OR') between filters. The default will be 'AND' to ensure existing queries remain unaffected.
I have created a patch and will attach it along with the corresponding test code.
Files
Related issues