Repository: ambari Updated Branches: refs/heads/branch-1.6.1 a9c7e16aa -> 2be24be3b
AMBARI-6360 Incorrect pagination info. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2be24be3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2be24be3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2be24be3 Branch: refs/heads/branch-1.6.1 Commit: 2be24be3b0b32ba3932aebf5d8048a2f6010def2 Parents: a9c7e16 Author: atkach <[email protected]> Authored: Wed Jul 2 20:38:41 2014 +0300 Committer: atkach <[email protected]> Committed: Wed Jul 2 20:54:18 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/views/main/host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/2be24be3/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 987ddb1..045a6f2 100644 --- a/ambari-web/app/views/main/host.js +++ b/ambari-web/app/views/main/host.js @@ -993,7 +993,7 @@ App.MainHostView = App.TableView.extend(App.TableServerProvider, { }.property('controller.colPropAssoc'), resetStartIndex: function () { - if (this.get('controller.resetStartIndex')) { + if (this.get('controller.resetStartIndex') && this.get('filteredCount') > 0) { this.set('startIndex', 1); } }.observes('controller.resetStartIndex')
