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 <akovale...@hortonworks.com> Authored: Thu Feb 16 18:10:39 2017 +0200 Committer: Aleksandr Kovalenko <akovale...@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; },