Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-05 18:49:34 +0300
committerPhil Hughes <me@iamphill.com>2017-09-05 18:49:34 +0300
commit68e9372acd2285055df70cdf84665febfb496166 (patch)
tree4308616ddd08eaec2c3a9442a895b570f4db6d1d /app/helpers/issuables_helper.rb
parentdf35410a9b908361843dcc9e36bcf73d4a704300 (diff)
parentd0f5b3c287f98e3e4bdab8bf26f33262cce8f4c4 (diff)
Merge branch 'master' into breadcrumbs-improvements
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r--app/helpers/issuables_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index ef9cdd058a9..e39d62ecf63 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -249,7 +249,8 @@ module IssuablesHelper
def issuables_count_for_state(issuable_type, state)
finder = public_send("#{issuable_type}_finder") # rubocop:disable GitlabSecurity/PublicSend
- finder.count_by_state[state]
+
+ Gitlab::IssuablesCountForState.new(finder)[state]
end
def close_issuable_url(issuable)