Defect #39714
closedQuery grouping filter not working for custom field relations
0%
Description
With https://www.redmine.org/projects/redmine/repository/svn/revisions/22177/diff grouping filter for relations do not work correctly. The name for group is wrong.
An example:
- create a custom field for users (any format)
- create another a custom field for issues with format user
- go to issue list and open select box with available filters
In the list of available filters there is a missing label for the group if cf-relation to the issue.
The problem is, that another regular expression is used first. Changing the order fix the problem.
The attached patch fixes the problem.
Files
Related issues
Updated by Alexander Meindl 9 months ago
Just as note: I tested it without any plugin and with Redmine 5.1.0-stable. Ruby 3.2.2 and PostgreSQL 15.
Updated by Marius BĂLTEANU 9 months ago
- Status changed from New to Confirmed
- Target version set to 5.0.7
Updated by Marius BĂLTEANU 9 months ago
- Status changed from Confirmed to Resolved
- Assignee set to Marius BĂLTEANU
- Resolution set to Fixed
Committted with a test, thanks for reporting and fixing the issue.
Updated by Marius BĂLTEANU 9 months ago
- Target version changed from 5.0.7 to 5.1.1
Updated by Marius BĂLTEANU 7 months ago
- Related to Defect #40157: Problem with Version types project CFs group titles in filters drop-down boxes added