From b5e03a8e2bef33a405d3bcaf88c4abd3a019c3c9 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.
Signed-off-by: Maryse Simard
Signed-off-by: George
Signed-off-by: Josef Moravec
Signed-off-by: Martin Renvoize
---
.../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 ba2dc6dbe9..45f3789c20 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 ) %]
+
+
+ [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
--
2.20.1