Commit f0777fbb authored by Robert Speicher's avatar Robert Speicher

Ensure `issuables_count_for_state` returns the requested state count

parent 223849fa
......@@ -242,7 +242,7 @@ module IssuablesHelper
def issuables_count_for_state(issuable_type, state)
finder = public_send("#{issuable_type}_finder") # rubocop:disable GitlabSecurity/PublicSend
finder.count_by_state
finder.count_by_state[state]
end
def close_issuable_url(issuable)
......
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