Commit db7b066d authored by Jarka Kadlecova's avatar Jarka Kadlecova

Add count_by_state method

parent a7c16f68
...@@ -19,6 +19,11 @@ class EpicsFinder < IssuableFinder ...@@ -19,6 +19,11 @@ class EpicsFinder < IssuableFinder
execute.count execute.count
end end
# we don't have states for epics for now but need this method
def count_by_state
{ all: row_count }
end
def group def group
return nil unless params[:group_id] return nil unless params[:group_id]
return @group if defined?(@group) return @group if defined?(@group)
......
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