ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-20051. Hosts filter component list is not sorted so it is difficult to use (akovalenko)
Date Fri, 17 Feb 2017 01:15:31 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 be18ae1bc -> 924f9964a


AMBARI-20051. Hosts filter component list is not sorted so it is difficult to use (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/924f9964
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/924f9964
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/924f9964

Branch: refs/heads/branch-2.5
Commit: 924f9964a2f67642591a28006b5a30fe6e4b7919
Parents: be18ae1
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Thu Feb 16 18:10:39 2017 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Fri Feb 17 03:15:17 2017 +0200

----------------------------------------------------------------------
 ambari-web/app/views/main/host/combo_search_box.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/924f9964/ambari-web/app/views/main/host/combo_search_box.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/combo_search_box.js b/ambari-web/app/views/main/host/combo_search_box.js
index f417cc6..d50ee83 100644
--- a/ambari-web/app/views/main/host/combo_search_box.js
+++ b/ambari-web/app/views/main/host/combo_search_box.js
@@ -231,6 +231,7 @@ App.MainHostComboSearchBoxView = Em.View.extend({
         App.router.get('mainHostController.labelValueMap')[displayName] = component.get('componentName');
       }
     });
+    hostComponentList = hostComponentList.sortProperty('label');
     return hostComponentList;
   },
 


Mime
View raw message