Repository: ambari Updated Branches: refs/heads/trunk c8eceafc9 -> cc799863d
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/cc799863 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cc799863 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cc799863 Branch: refs/heads/trunk Commit: cc799863d859a93130bbea2109cdd28581c0e1d3 Parents: c8eceaf Author: atkach <[email protected]> Authored: Wed Jul 2 20:42:44 2014 +0300 Committer: atkach <[email protected]> Committed: Wed Jul 2 20:47: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/cc799863/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')
