From 1dbef217464ddc85deeb11cebb235c102e1eee8d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 24 Aug 2020 16:32:34 +0000 Subject: [PATCH] Bug 26289: Add missing variable definition to templates This patch adds definition of the missing "searchid" variable to three bibliographic detail pages. The variable is required by several JavaScript functions. To test, apply the patch and locate or create a record with no items. Open the labeled MARC view and choose Edit -> Delete record. Confirm the deletion. The deletion should complete correctly. Perform the same test with the ISBD view and the MARC view. --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt | 1 + 3 files changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt index 1e022b1b1d..bbe4d380f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt @@ -60,6 +60,7 @@ [% Asset.js("js/browser.js") | $raw %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index 0816c6379c..b2f6059609 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -190,6 +190,7 @@ [% Asset.js("js/browser.js") | $raw %]