Updated Branches: refs/heads/trunk 20b3d2dad -> 6573ac0d5
AMBARI-2627. Jobs page: Run Date sorting are not applied when switching between All and Filtered. (Aleksandr Kovalenko via yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/6573ac0d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/6573ac0d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/6573ac0d Branch: refs/heads/trunk Commit: 6573ac0d5a7829205746853bd063dad97461b29c Parents: 20b3d2d Author: Yusaku Sako <[email protected]> Authored: Thu Jul 11 11:46:48 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Thu Jul 11 11:46:48 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/controllers/main/apps_controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/6573ac0d/ambari-web/app/controllers/main/apps_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/apps_controller.js b/ambari-web/app/controllers/main/apps_controller.js index 19d481b..f7ab229 100644 --- a/ambari-web/app/controllers/main/apps_controller.js +++ b/ambari-web/app/controllers/main/apps_controller.js @@ -379,7 +379,8 @@ App.MainAppsController = Em.ArrayController.extend({ if(this.get("filterObject.viewType") == "filtered"){ this.set("runUrl", link); }else{ - this.set("runUrl", "/jobhistory/datatable?iDisplayStart="+this.get('filterObject.iDisplayStart')+"&iDisplayLength="+this.get('filterObject.iDisplayLength')); + this.set("runUrl", "/jobhistory/datatable?iDisplayStart=" + this.get('filterObject.iDisplayStart') + "&iDisplayLength=" + this.get('filterObject.iDisplayLength') + + '&iSortCol_0=' + this.get('filterObject.iSortCol_0') + '&sSortDir_0=' + this.get('filterObject.sSortDir_0')); } var timeout = this.get('runTimeout');
