From: Stas Vilchik Date: Tue, 27 Sep 2016 07:26:20 +0000 (+0200) Subject: SONAR-8056 fix loading of issues X-Git-Tag: 6.1-RC2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f0956c6ec3826e73e40313e7edb06a87c1570c6f;p=sonarqube.git SONAR-8056 fix loading of issues --- 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());