Commit 48ac2ac4 authored by Nick Thomas's avatar Nick Thomas

Fix the soft_fail_count_by_state feature flag

parent 2d7b79bf
......@@ -153,8 +153,10 @@ class IssuableFinder
end
def row_count
fast_fail = Feature.enabled?(:soft_fail_count_by_state, params.group || params.project)
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])
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