From f0956c6ec3826e73e40313e7edb06a87c1570c6f Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 27 Sep 2016 09:26:20 +0200 Subject: [PATCH] SONAR-8056 fix loading of issues --- server/sonar-web/src/main/js/apps/issues/controller.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()); -- 2.39.5