From 57f81a09bd80b5d3f3bea44512faa677648c381f 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 Signed-off-by: Katrin Fischer (cherry picked from commit e1b78e1e2bf8badb27556eb749fe17c262a654bf) Signed-off-by: Lucas Gass --- .../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 ef570de7c2..57e8b73173 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.39.5