aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-09-27 09:26:20 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-09-27 09:26:20 +0200
commitf0956c6ec3826e73e40313e7edb06a87c1570c6f (patch)
tree0d395d9c03d6909aa213625d19a53abd40c5a685 /server/sonar-web/src/main
parentf1d39edb71ebda9fbca85962abb6ec0046521757 (diff)
downloadsonarqube-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.js5
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());