AMBARI-7610. EC2 : Hosts names not in sorted order in Hosts page even after 
sorting. (onechiporenko)


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

Branch: refs/heads/branch-alerts-dev
Commit: ef1d6988a06668814edad5d16773de812c845ad9
Parents: e040511
Author: Oleg Nechiporenko <[email protected]>
Authored: Thu Oct 2 14:49:01 2014 +0300
Committer: Oleg Nechiporenko <[email protected]>
Committed: Thu Oct 2 14:49:01 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ef1d6988/ambari-web/app/controllers/main/host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host.js 
b/ambari-web/app/controllers/main/host.js
index f589fd2..53ca6d9 100644
--- a/ambari-web/app/controllers/main/host.js
+++ b/ambari-web/app/controllers/main/host.js
@@ -63,7 +63,7 @@ App.MainHostController = Em.ArrayController.extend({
   filterProperties: [
     {
       key: 'publicHostName',
-      alias: 'Hosts/host_name',
+      alias: 'Hosts/public_host_name',
       type: 'MATCH'
     },
     {
@@ -156,7 +156,7 @@ App.MainHostController = Em.ArrayController.extend({
   sortProps: [
     {
       key: 'publicHostName',
-      alias: 'Hosts/host_name'
+      alias: 'Hosts/public_host_name'
     },
     {
       key: 'ip',

Reply via email to