yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20334
[Bug 1365754] [NEW] filter on tranlated diplay status will not work in instances table
Public bug reported:
Status is displayed in localized value in the instances table. However
for the filter on instances table , if user wants to use
Status=<translated display_name>, it will not be able to filter the
translated display value, the filter is looking for code value.
Use status active as an example to reproduce the problem,
in project/instances/tables.py, change STATUS_DISPLAY_CHOICES 's
("active", _("ActiveS")), to mimic translated value.
In instances table in Project, you will see the status of the instance
is ActiveS. If you use filter Status=ActiveS, the table becomes empty.
The filter is looking for active not ActiveS.
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
Status and Task are displayed in localized value in the instances table.
- However for the filter on instances table , if want to use
+ However for the filter on instances table , if user wants to use
Status=<translated display_name>, it will not be able to filter the
- display translated value, the filter is looking for code value.
+ translated display value, the filter is looking for code value.
Use status active as an example to reproduce the problem,
in project/instances/tables.py, change STATUS_DISPLAY_CHOICES 's
("active", _("ActiveS")), to mimic translated value.
In instances table in Project, you will see the status of the instance
is ActiveS. If you use filter Status=ActiveS, the table becomes empty.
The filter is looking for active not ActiveS.
** Summary changed:
- filter on tranlated diplay status and task will not work in instances table
+ filter on tranlated diplay status will not work in instances table
** Description changed:
- Status and Task are displayed in localized value in the instances table.
- However for the filter on instances table , if user wants to use
+ Status is displayed in localized value in the instances table. However
+ for the filter on instances table , if user wants to use
Status=<translated display_name>, it will not be able to filter the
translated display value, the filter is looking for code value.
Use status active as an example to reproduce the problem,
in project/instances/tables.py, change STATUS_DISPLAY_CHOICES 's
("active", _("ActiveS")), to mimic translated value.
In instances table in Project, you will see the status of the instance
is ActiveS. If you use filter Status=ActiveS, the table becomes empty.
The filter is looking for active not ActiveS.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1365754
Title:
filter on tranlated diplay status will not work in instances table
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Status is displayed in localized value in the instances table.
However for the filter on instances table , if user wants to use
Status=<translated display_name>, it will not be able to filter the
translated display value, the filter is looking for code value.
Use status active as an example to reproduce the problem,
in project/instances/tables.py, change STATUS_DISPLAY_CHOICES 's
("active", _("ActiveS")), to mimic translated value.
In instances table in Project, you will see the status of the instance
is ActiveS. If you use filter Status=ActiveS, the table becomes empty.
The filter is looking for active not ActiveS.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1365754/+subscriptions
Follow ups
References