Project

General

Profile

Actions

Defect #39714

closed

Query grouping filter not working for custom field relations

Added by Alexander Meindl about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Filters
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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

Related to Redmine - Defect #40157: Problem with Version types project CFs group titles in filters drop-down boxesClosed

Actions
Actions #1

Updated by Alexander Meindl about 1 year ago

Just as note: I tested it without any plugin and with Redmine 5.1.0-stable. Ruby 3.2.2 and PostgreSQL 15.

Actions #2

Updated by Marius BĂLTEANU about 1 year ago

  • Status changed from New to Confirmed
  • Target version set to 5.0.7
Actions #3

Updated by Marius BĂLTEANU about 1 year 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.

Actions #4

Updated by Marius BĂLTEANU about 1 year ago

  • Target version changed from 5.0.7 to 5.1.1
Actions #5

Updated by Marius BĂLTEANU about 1 year ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Marius BĂLTEANU 11 months ago

  • Related to Defect #40157: Problem with Version types project CFs group titles in filters drop-down boxes added
Actions

Also available in: Atom PDF