Skip to content
Snippets Groups Projects
Commit f0777fbb authored by Robert Speicher's avatar Robert Speicher
Browse files

Ensure `issuables_count_for_state` returns the requested state count

parent 223849fa
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment