From a37b9ef818b0fb19ab9ceac4f3bad7ee1d039d2b Mon Sep 17 00:00:00 2001 From: Rob Orton Date: Tue, 6 Jul 2021 13:17:23 -0600 Subject: [PATCH] add clarity to string in report text Change-Id: If3b242dbcd43dfc931ea536990af52da9bb2a0cb Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/268466 Reviewed-by: Michael Ziwisky QA-Review: Michael Ziwisky Product-Review: Michael Ziwisky Tested-by: Service Cloud Jenkins --- .../account_reports/lib/account_reports/eportfolio_reports.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gems/plugins/account_reports/lib/account_reports/eportfolio_reports.rb b/gems/plugins/account_reports/lib/account_reports/eportfolio_reports.rb index 59e94334f6b..e48c6080769 100644 --- a/gems/plugins/account_reports/lib/account_reports/eportfolio_reports.rb +++ b/gems/plugins/account_reports/lib/account_reports/eportfolio_reports.rb @@ -43,9 +43,7 @@ module AccountReports ].freeze def eportfolio_report - if only_users_with_no_enrollments? - add_extra_text(I18n.t('Include users with no enrollments')) - end + add_extra_text(I18n.t('Only users with no enrollments')) if only_users_with_no_enrollments? write_report EPORTFOLIO_REPORT_HEADERS do |csv| eportfolio_scope.select('eportfolios.*, users.name AS user_name, pseudonyms.sis_user_id, pseudonyms.unique_id').find_each do |e|