From 53d98ef624ba29f8437b44c6dd6e7e048f23c2cd Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 7 May 2015 14:14:04 +0200 Subject: [PATCH] SONAR-5726 fix the display of limited results warning --- server/sonar-web/src/main/js/widgets/issue-filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }); -- 2.39.5