Repository: ambari Updated Branches: refs/heads/branch-2.5 714e60115 -> 6632caf53
AMBARI-19942 Unexpected paging behavior on Hosts page. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6632caf5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6632caf5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6632caf5 Branch: refs/heads/branch-2.5 Commit: 6632caf53dd4ea9d7bf171743713f5af90f60bbb Parents: 714e601 Author: Andrii Tkach <atk...@apache.org> Authored: Thu Feb 9 15:43:33 2017 +0200 Committer: Andrii Tkach <atk...@apache.org> Committed: Thu Feb 9 20:07:47 2017 +0200 ---------------------------------------------------------------------- ambari-web/app/views/main/host.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6632caf5/ambari-web/app/views/main/host.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/main/host.js b/ambari-web/app/views/main/host.js index fd4e085..a7cdb29 100644 --- a/ambari-web/app/views/main/host.js +++ b/ambari-web/app/views/main/host.js @@ -175,6 +175,7 @@ App.MainHostView = App.TableView.extend(App.TableServerViewMixin, { } this._super(); this.set('startIndex', this.get('controller.startIndex')); + this.set('displayLength', this.get('controller.paginationProps').findProperty('name', 'displayLength').value); this.addObserver('pageContent.@each.selected', this, this.selectedHostsObserver); },