Project

General

Profile

Actions

Feature #41214

open

Allow the 'OR' Logical Operator in Query

Added by Takenori TAKAKI 24 days ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

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

Related to Redmine - Feature #4939: List of tasks filtered as OR and not ANDNew2010-02-26

Actions
Actions

Also available in: Atom PDF