Commit 2977d9d9 authored by Kerri Miller's avatar Kerri Miller

Merge branch 'fix-soft-fail-count-by-state-ff' into 'master'

Fix the soft_fail_count_by_state feature flag

See merge request gitlab-org/gitlab!45401
parents b6f5afb1 48ac2ac4
...@@ -153,8 +153,10 @@ class IssuableFinder ...@@ -153,8 +153,10 @@ class IssuableFinder
end end
def row_count def row_count
fast_fail = Feature.enabled?(:soft_fail_count_by_state, params.group || params.project)
Gitlab::IssuablesCountForState Gitlab::IssuablesCountForState
.new(self, nil, fast_fail: Feature.enabled?(:soft_fail_count_by_state, parent)) .new(self, nil, fast_fail: fast_fail)
.for_state_or_opened(params[:state]) .for_state_or_opened(params[:state])
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment