Bug 26289: Add missing variable definition to templates
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Aug 2020 19:30:00 +0000 (19:30 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Aug 2020 14:10:25 +0000 (16:10 +0200)
commita4e922ffe8a5ea760f2401aca44b1dd9be97c7ec
tree73dd602ec17e87e4e7df4bcac09e0bac4f9b52e9
parent9ea7907618a144d03d9e337f79d3dbc26603a919
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>
koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt