From 99f6e1adf3d3236c2a08ad31d4282d429d50974b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 Sep 2017 11:09:57 -0300 Subject: [PATCH] Bug 19357: (bug 18260 follow-up) Remove non-relevant attributes When created, batch_record_modification.tt has been based on batch_delete_records.tt These attributes are not used in the template and not set in the pl script. Since bug 18260, biblio is a Koha::Biblio and calling a non-existent method will raise an error. This patch get rid of the following error: batch_record_modification.pl: Template process failed: undef error - The method itemnumbers is not covered by tests! Test plan: Modify bibliographic records with the "Batch record modification" tool. Signed-off-by: Owen Leonard Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/batch_record_modification.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 52b3b2b291..4a6ad6a7fb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -218,7 +218,7 @@ $(document).ready(function() { [% FOR biblio IN records %] - + [% biblio.biblionumber %] [% biblio.title %] -- 2.39.5