Defect #23298
closedCategory select filter-filed is not populated by values
0%
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
Updated by Jean-Philippe Lang over 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).
Updated by Jean-Philippe Lang over 8 years ago
- Status changed from New to Needs feedback
Updated by Maxim Krušina over 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.
Updated by Toshi MARUYAMA over 8 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.