Defect #26023

Category filter only shows categories of current project

Added by Felix Schäfer 5 months ago. Updated 5 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues filter
Target version:Candidate for next major release
Resolution: Affected version:

Description

The category filter currently only shows the categories of the current project, this means the global query can not use categories, and projects with subprojects can not use the categories from the subproject as filters.

I will provide a patch shortly to solve this issue.

26023.patch Magnifier (2.78 KB) Felix Schäfer, 2017-05-23 13:13

26023-screenshot@2x.png (27.8 KB) Go MAEDA, 2017-05-23 13:29


Related issues

Related to Redmine - Feature #8192: Make a global category filter available from issues list ... New 2011-04-19
Related to Redmine - Feature #17761: Add freetext category filter to issue query when listing ... New
Related to Redmine - Defect #23198: Group by Category does not group across projects New
Related to Redmine - Patch #26091: Allow to filter by any visible version on the global issu... New
Related to Redmine - Feature #6793: Report for issues with no category for all projects New 2010-11-02
Duplicated by Redmine - Defect #8854: Filter on category across subprojects does not work New 2011-07-19

History

#1 Updated by Felix Schäfer 5 months ago

Please note that this patch does not differentiate between categories from different projects with the same name. It is also not possible currently to filter by a string match on the name of the category currently.

#2 Updated by Felix Schäfer 5 months ago

A quick word regarding the rationale: in #25501#note-4 custom fields were changed to behave in the way implemented in the proposed patch, i.e. only limit the categories to the categories of the current project and its subprojects if we are in a project context.

#3 Updated by Go MAEDA 5 months ago

Interesting. Thank you for submitting the patch.

#4 Updated by Go MAEDA 5 months ago

I think we can merge this patch if tests are added.

#5 Updated by Go MAEDA 5 months ago

The patch also resolves #8192, #17761 and #23198.

#6 Updated by Toshi MARUYAMA 4 months ago

  • Related to Feature #8192: Make a global category filter available from issues list at All Issues level added

#7 Updated by Toshi MARUYAMA 4 months ago

  • Related to Feature #17761: Add freetext category filter to issue query when listing issues of more than one project added

#8 Updated by Toshi MARUYAMA 4 months ago

  • Related to Defect #23198: Group by Category does not group across projects added

#9 Updated by Go MAEDA 3 months ago

  • Duplicated by Defect #8854: Filter on category across subprojects does not work added

#10 Updated by Toshi MARUYAMA 3 months ago

  • Related to Patch #26091: Allow to filter by any visible version on the global issues view added

#11 Updated by Go MAEDA 3 months ago

  • Related to Feature #6793: Report for issues with no category for all projects added

Also available in: Atom PDF