]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5726 fix the display of limited results warning
authorStas Vilchik <vilchiks@gmail.com>
Thu, 7 May 2015 12:14:04 +0000 (14:14 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 7 May 2015 12:14:04 +0000 (14:14 +0200)
server/sonar-web/src/main/js/widgets/issue-filter.js

index c1f9c4a2760f376f122770fbe3b89291d9bb818c..cea0f151b5017db5e39da4d16dd3c3b58e33425b 100644 (file)
@@ -319,7 +319,7 @@ define(['templates/widgets'], function () {
           var items = that.sortItems(that.withLabels(that.withLink(that.filterItems(r.facets[0].values))));
           that.model.set({
             items: items,
-            maxResultsReached: r.facets[0].values.length >= FACET_LIMIT,
+            maxResultsReached: items.length >= FACET_LIMIT,
             maxResults: items.length,
             total: r.total
           });