]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8056 fix loading of issues
authorStas Vilchik <vilchiks@gmail.com>
Tue, 27 Sep 2016 07:26:20 +0000 (09:26 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 27 Sep 2016 07:26:20 +0000 (09:26 +0200)
server/sonar-web/src/main/js/apps/issues/controller.js

index bd436af97715c18d4705af5660d29880787441c1..4437ebc1367d5d0650cf3ad8a609eece2615e09a 100644 (file)
@@ -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());