diff options
Diffstat (limited to 'lib/gitlab/cycle_analytics/test_stage.rb')
-rw-r--r-- | lib/gitlab/cycle_analytics/test_stage.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/cycle_analytics/test_stage.rb b/lib/gitlab/cycle_analytics/test_stage.rb index 2b5f72bef89..f47f313d35d 100644 --- a/lib/gitlab/cycle_analytics/test_stage.rb +++ b/lib/gitlab/cycle_analytics/test_stage.rb @@ -25,11 +25,11 @@ module Gitlab _("Total test time for all commits/merges") end - def stage_query + def stage_query(project_ids = nil) if @options[:branch] - super.where(build_table[:ref].eq(@options[:branch])) + super(project_ids).where(build_table[:ref].eq(@options[:branch])) else - super + super(project_ids) end end end |