From: Stas Vilchik Date: Thu, 7 May 2015 12:14:04 +0000 (+0200) Subject: SONAR-5726 fix the display of limited results warning X-Git-Tag: 5.2-RC1~2026 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=53d98ef624ba29f8437b44c6dd6e7e048f23c2cd;p=sonarqube.git SONAR-5726 fix the display of limited results warning --- diff --git a/server/sonar-web/src/main/js/widgets/issue-filter.js b/server/sonar-web/src/main/js/widgets/issue-filter.js index c1f9c4a2760..cea0f151b50 100644 --- a/server/sonar-web/src/main/js/widgets/issue-filter.js +++ b/server/sonar-web/src/main/js/widgets/issue-filter.js @@ -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 });