Bug 26289: Add missing variable definition to templates
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Aug 2020 19:30:00 +0000 (19:30 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 4 Sep 2020 20:39:26 +0000 (20:39 +0000)
commit8ff281cca587a612628014a45d0211b7295849f8
tree50fb9555354fb83e5c3238e894515e7b5e80ce97
parent4a2e76d83ae76f72365f663effa372d018638856
Bug 26289: Add missing variable definition to templates

This patch puts definition of the missing "searchid" variable into an
include file to be used by various 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 detail view, ISBD view,  MARC view, and
items view.

Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a4e922ffe8a5ea760f2401aca44b1dd9be97c7ec)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc