ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-20384 Host Page filter doesn't work after sort by name. (atkach)
Date Fri, 10 Mar 2017 09:46:14 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 bf4edcd76 -> 99766861c


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/99766861
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/99766861
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/99766861

Branch: refs/heads/branch-2.5
Commit: 99766861cd6b5eda6428a8642b58d146290caed2
Parents: bf4edcd
Author: Andrii Tkach <atkach@apache.org>
Authored: Thu Mar 9 20:32:17 2017 +0200
Committer: Andrii Tkach <atkach@apache.org>
Committed: Fri Mar 10 11:43: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/99766861/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) {


Mime
View raw message