← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1802228] Re: Table filter does not support other languages

 

Reviewed:  https://review.openstack.org/616744
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=02b6c1b405d779d2df7897bf67bc39133069d0e6
Submitter: Zuul
Branch:    master

commit 02b6c1b405d779d2df7897bf67bc39133069d0e6
Author: wangliangyu <wangliangyu@xxxxxxxxxxxxx>
Date:   Fri Nov 9 10:19:28 2018 +0800

    Make table filters valid for every languages
    
    As we known, the table support filtered by local language
    with some filters mapping, like below:
    https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/views.py#L46
    We use the filter string given by user and look valid values
    in those filters mapping. But the keys in filters mapping,
    which is django.utils.functional.__proxy__, does not match
    the filter string.
    This commit valid them.
    
    Change-Id: I40cb50bbf08fc457967615f2654026cfdafb9232
    Closes-Bug: #1802228


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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/1802228

Title:
  Table filter does not support other languages

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Example:

  - Set the language to others except English
  - Access /project/networks/
  - Filter by external, such as other languages yes, like Chinese '是'/ Japanese‘はい’...
  - Throw "Network list can not be retrieved" error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1802228/+subscriptions


References