diff --git a/public/badges/classes/reportbuilder/local/systemreports/recipients.php b/public/badges/classes/reportbuilder/local/systemreports/recipients.php index 22d22659fed..ef78bea2408 100644 --- a/public/badges/classes/reportbuilder/local/systemreports/recipients.php +++ b/public/badges/classes/reportbuilder/local/systemreports/recipients.php @@ -66,7 +66,7 @@ class recipients extends system_report { $this->set_default_no_results_notice(new lang_string('nomatchingawards', 'core_badges')); // Set if report can be downloaded. - $this->set_downloadable(false); + $this->set_downloadable(true); } /** diff --git a/public/badges/tests/behat/criteria_activity.feature b/public/badges/tests/behat/criteria_activity.feature index 865af6fa1a1..4156f6f573c 100644 --- a/public/badges/tests/behat/criteria_activity.feature +++ b/public/badges/tests/behat/criteria_activity.feature @@ -122,3 +122,5 @@ Feature: Award badges based on activity completion And I select "Recipients (1)" from the "jump" singleselect And I should see "Student 1" And I should not see "Student 2" + And I should see "Download table data as" + And "Download" "button" should exist