From 3f8cf4c50beae46a29750891e9ccdb9f15041ee9 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste Henry Date: Thu, 2 Oct 2025 12:38:29 +0000 Subject: [PATCH] Bug 40937: Include show data menu button for batch_borrowernumbers To test: 1 - save and run a report of "SELECT borrowernumber FROM borrowers" 2 - observe your results page does not include the Show Data Menu button 3 - save and run a report of "SELECT cardnumber FROM borrowers" 4 - observe your results page does include the button 5 - save and run a report of "SELECT borrowernumber, cardnumber FROM borrowers" 6 - observe you are once again buttonless on the results page 7 - apply patch 8 - run your report from step 1, observe you now have the button 9 - run your report from step 3, observe you still have the button 10 - run your report from step 5, observe you now have the button 11 - confirm that the batch actions dropdown only includes the patron actions once Signed-off-by: Magnus Enger Works as advertised. --- .../prog/en/modules/reports/guided_reports_start.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 57e7a1d74c..d84a035f3b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1262,7 +1262,7 @@ [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %] - [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_reserve_ids ) %] + [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_reserve_ids || batch_borrowernumbers ) %] -- 2.43.0