Project

General

Profile

Actions

Defect #39714

closed

Query grouping filter not working for custom field relations

Defect #39714: Query grouping filter not working for custom field relations

Added by Alexander Meindl about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Filters
Target version:
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 1 (0 open — 1 closed)

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

Updated by Alexander Meindl about 3 years ago Actions #1

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 about 3 years ago Actions #2

  • Status changed from New to Confirmed
  • Target version set to 5.0.7

Updated by Marius BĂLTEANU about 3 years ago Actions #3

  • 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 about 3 years ago Actions #4

  • Target version changed from 5.0.7 to 5.1.1

Updated by Marius BĂLTEANU about 3 years ago Actions #5

  • Status changed from Resolved to Closed

Updated by Marius BĂLTEANU almost 3 years ago Actions #6

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

Also available in: PDF Atom