Repository: ambari Updated Branches: refs/heads/trunk b4da19ea0 -> b0fc5da42
AMBARI-20384 Host Page filter doesn't work after sort by name. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b0fc5da4 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b0fc5da4 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b0fc5da4 Branch: refs/heads/trunk Commit: b0fc5da42da8698a300d07a614298f1e9e3f94f1 Parents: b4da19e Author: Andrii Tkach <[email protected]> Authored: Thu Mar 9 20:32:17 2017 +0200 Committer: Andrii Tkach <[email protected]> Committed: Fri Mar 10 11:39:42 2017 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/main/host/combo_search_box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b0fc5da4/ambari-web/app/controllers/main/host/combo_search_box.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/host/combo_search_box.js b/ambari-web/app/controllers/main/host/combo_search_box.js index dedd290..010002c 100644 --- a/ambari-web/app/controllers/main/host/combo_search_box.js +++ b/ambari-web/app/controllers/main/host/combo_search_box.js @@ -53,7 +53,7 @@ App.MainHostComboSearchBoxController = Em.Controller.extend({ }, isComponentStateFacet: function(facet) { - return App.HostComponent.find().filterProperty('componentName', facet).length > 0; + return App.StackServiceComponent.find(facet).get('isLoaded'); }, isComplexHealthStatusFacet: function(facet) {
