From 3724066224adfe2a82f43bfdc255144b402c7236 Mon Sep 17 00:00:00 2001 From: zhangdebo Date: Thu, 18 May 2017 00:46:04 -0700 Subject: [PATCH] Attribute "isServer" of images visibility filter should be true. I found an interesting bug in images panel. In images panel, set filter to be "visibility: public", I got one image listed in the table, then I changed language from "en" to "zh_CN" and filter images again, I got none. In the tab of browser developer tool, I saw a correct response with one image data, but it was not appeared in the table. Later I found the attribute "isServer" of visibility filter is false, that caused the above bug. Change-Id: I130d07727fe74ce65aba72d3e63fdfe0c8721795 Closes-Bug: #1691683 --- openstack_dashboard/static/app/core/images/images.module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/static/app/core/images/images.module.js b/openstack_dashboard/static/app/core/images/images.module.js index 0d913fc14b..aebe9c3353 100644 --- a/openstack_dashboard/static/app/core/images/images.module.js +++ b/openstack_dashboard/static/app/core/images/images.module.js @@ -142,7 +142,7 @@ .append({ label: gettext('Visibility'), name: 'visibility', - isServer: false, + isServer: true, singleton: true, options: [ {label: gettext('Public'), key: 'public'},