Project

General

Profile

Actions

Defect #23298

closed

Category select filter-filed is not populated by values

Added by Maxim Krušina almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues filter
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Hi, just found, probably, bug.
When I try to filter issues by specific category, the select box is empty, so I cannot choose desired category.
When I click on + button to turn multiselect on, still no single value.
Please, see attached screenshots.
Other filters works just great.


Files

Actions #1

Updated by Jean-Philippe Lang almost 8 years ago

Can you check the page source? There is a javascript variable named availableFilters. It's a hash that should have a key named category_id. Do you have values for it? Eg.:

"category_id":{"type":"list_optional","name":"Category","values":[["Accounts \/ authentication","7"],...

If this is present, there might be a problem when populating the select (this is done with javascript on the client).

Actions #2

Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Needs feedback
Actions #3

Updated by Maxim Krušina almost 8 years ago

  • Assignee set to Jean-Philippe Lang

Tradaaa, found where is the trouble! I'm sorry for plain alert, it's not exactly bug, but still it be nice to solve it.
I was listing tickets of parent project, so there were listed issued of current project and ALL SUBPROJECTS.
In this view, there are no Categories visible, which are defined in sub-projects.
I think it will be not so easy to solve this, coz each (sub)project have it's own list of category names, and even there can be three categories named "API" in three different sub-projects, but each category is acutally a different one with it's own ID.
Only sollution which I can imagine now is simillar approach as to versions, so there should be something like "Project name > Category name", but I guess it will be bit complicated, for exaple wen saving custom filters, etc.

Actions #4

Updated by Toshi MARUYAMA over 7 years ago

  • Status changed from Needs feedback to Closed
  • Assignee deleted (Jean-Philippe Lang)
  • Priority changed from Urgent to Normal
  • Resolution set to Duplicate

Category project dependency is duplicate with #5576 etc.

Actions

Also available in: Atom PDF