MagicSearch does not filter by localized options

Bug #1638178 reported by Eddie Ramirez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

How to reproduce:

1. Set a different language than English (Tested with Spanish)
2. Go to Project->Compute->Images
3. Open filters and select a facet with options, e.g. "Status".
4. A menu opens with a set options (note: translated options). Type "activo" (spanish word for active).
5. See that no matches are found since "activo" is not a valid filter option in the API.
6. Try using "active" and now it works

Showing the localized options might confuse the user as they may think is a valid option but it's not. However, I believe we should keep the options localized.

Tags: i18n
Revision history for this message
Eddie Ramirez (ediardo) wrote :
Revision history for this message
Eddie Ramirez (ediardo) wrote :
Changed in horizon:
importance: Undecided → High
tags: added: i18n
removed: filter images magicsearch
Changed in horizon:
milestone: none → ocata-1
Changed in horizon:
importance: High → Low
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

What seems to be happening is that if you skip the dropdown options, and type out the word, it checks that text literally against the api filter. So even under a Spanish locale, typing out "active" will produce the correct result, but "activo" won't.

The only way to practically improve this is block arbitrary user input in magic search when a dropdown is available, so they don't manually type it.

Changed in horizon:
status: New → Confirmed
Changed in horizon:
assignee: nobody → Revon Mathews (revon-mathews)
Changed in horizon:
milestone: ocata-1 → next
Changed in horizon:
assignee: Revon Mathews (revon-mathews) → nobody
Revision history for this message
Lucas H. Xu (xuh-2) wrote :

I cannot reproduce this when I set the language as Chinese(Mandarin).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.