From 3cc762a24f1365d401d13fc9bf1615f0fd6a8ed0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 Sep 2017 11:09:57 -0300 Subject: [PATCH] [SIGNED-OFF] 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 --- .../intranet-tmpl/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 52b3b2b..4a6ad6a 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.1.4