Commit e3f8f00b authored by Maxime Orefice's avatar Maxime Orefice

Fix group code coverage csv

This commit fixes a bug to download the group code coverage
data as a csv.
parent d606041f
......@@ -40,7 +40,7 @@ module Ci
date: start_date..end_date
}
if ref_path
if ref_path.present?
params[:ref_path] = ref_path
else
params[:default_branch] = true
......
......@@ -4,5 +4,5 @@
%h3
= _("Repositories Analytics")
#js-group-repository-analytics{ data: { group_analytics_coverage_reports_path: group_analytics_coverage_reports_path(@group, format: :csv),
#js-group-repository-analytics{ data: { group_analytics_coverage_reports_path: group_analytics_coverage_reports_path(@group, format: :csv, ref_path: ""),
group_full_path: @group.full_path } }
---
title: Fix group code coverage data csv
merge_request: 50155
author:
type: fixed
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