Comment 4 for bug 1718725

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/506716
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=610798376191902c402890c24e39e4de2e240d2e
Submitter: Jenkins
Branch: master

commit 610798376191902c402890c24e39e4de2e240d2e
Author: Huan Xiong <email address hidden>
Date: Sat Sep 23 00:41:15 2017 +0800

    Fix non-API bound filters in project and admin instance panels

    Filters like "image_name", "flavor_name" and "project" in instance
    panels are keys not supported in Nova List-Servers API directly, so they
    should be converted to "image", "flavor" and "project_id", respectively,
    before Horizon calling Nova List-Servers API.

    That used to work, but was broken in commit
    df194c8b4c25c6128f03a98fd0e628ba14b743ff because the code change messed
    up the order. This commit fixes it by converting those filters first and
    then calling Nova API with modified filters.

    Change-Id: I504caaab2b6f256e7eb8c2605acaec39c004e80f
    Closes-Bug: #1718725