diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-09-27 09:26:20 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-09-27 09:26:20 +0200 |
commit | f0956c6ec3826e73e40313e7edb06a87c1570c6f (patch) | |
tree | 0d395d9c03d6909aa213625d19a53abd40c5a685 /server/sonar-web/src/main | |
parent | f1d39edb71ebda9fbca85962abb6ec0046521757 (diff) | |
download | sonarqube-f0956c6ec3826e73e40313e7edb06a87c1570c6f.tar.gz sonarqube-f0956c6ec3826e73e40313e7edb06a87c1570c6f.zip |
SONAR-8056 fix loading of issues
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/controller.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/controller.js b/server/sonar-web/src/main/js/apps/issues/controller.js index bd436af9771..4437ebc1367 100644 --- a/server/sonar-web/src/main/js/apps/issues/controller.js +++ b/server/sonar-web/src/main/js/apps/issues/controller.js @@ -95,7 +95,10 @@ export default Controller.extend({ maxResultsReached: r.p * r.ps >= r.total }); } else { - that.options.app.state.set({ page: r.p }); + that.options.app.state.set({ + page: r.p, + maxResultsReached: r.p * r.ps >= r.total + }); } if (firstPage && that.isIssuePermalink()) { return that.showComponentViewer(that.options.app.list.first()); |