From c8e4f2ada22b8a5af8e138e1e82e0e5e526f3dd4 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 11 Jul 2024 16:12:29 +0000 Subject: [PATCH] Bug 37192: Adjust template for additem.tt Test plan: 1. Search the catalog for something that will return results, like Perl 2. On any bib that has at least one item, click Edit items 3. In the Actions menu to the left of any item, choose Print label 4. That opened a popup with a 500 error rather than a label batch editor 5. Apply patch, restart_all 6. Repeat step 3, but this time you'll get a label batch editor with your item in it. Signed-off-by: Phil Ringnalda Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 9cc33673303..c9e5bf1da7b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -35,6 +35,7 @@ [% INCLUDE 'calendar.inc' %] [% INCLUDE 'str/cataloging_additem.inc' %] [% Asset.js("js/cataloging_additem.js") | $raw %] +[% Asset.js("js/form-submit.js") | $raw %] @@ -134,7 +135,9 @@
  • Edit
  • [% END %]
  • Duplicate
  • - + [% UNLESS item.nomod %]
  • -- 2.45.2