From d31d80eb5f90a2de46f34aed54d568d451eaa3f6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 25 Jun 2019 16:47:42 +0000 Subject: [PATCH] Bug 23206: Batch patron modification from reports which return cardnumber This patch adds an option to submit patron card numbers from report results to the batch patron modification tool. As with a report which returns biblionumbers or itemnumbers, a button appears at the top of report results which triggers a menu of batch operation options. To test, apply the patch and create a report which includes patron card number in the results. - Run the report and confirm that under the "Batch operations" button a batch patron modification menu item appears. - Confirm that selecting this option sends the correct patrons to the batch patron modification tool. - Test also with a report which returns both patron cardnumber and biblionumber or itemnumber. --- .../prog/en/modules/reports/guided_reports_start.tt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 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 ba2dc6dbe97..45f3789c204 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 @@ -788,7 +788,14 @@ canned reports and writing custom SQL reports.

[% END %] - [% IF ( batch_biblionumbers || batch_itemnumbers ) %] +
+ + [% # Preserve the whitespace of the following textarea in order to format the values correctly %] + +
+ + [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]

-- 2.11.0