From c6e6b78a5099d34ecfc2b71fa03f154554ddfc6f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 9 Nov 2018 19:02:25 +0000 Subject: [PATCH] Bug 21805: Duplicate include file in search results template causes JS error This patch removes a redundant include file, browser-strings.inc, from the top of the staff client search results template. The correctly-placed include is in the JavaScript block at the bottom of the template. The duplication causes a JavaScript error which can be seen in the browser console. To test, apply the patch and peform a catalog search in the staff client. Open the browser console and confirm that there are no errors. Signed-off-by: Pierre-Marc Thibault Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index fb470a1293..3f14e6ea06 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -7,7 +7,6 @@ [% USE AuthorisedValues %] [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] -[% INCLUDE 'browser-strings.inc' %] [% IF BiblioDefaultViewmarc %] [% SET DetailPage="MARCdetail.pl" %] [% ELSIF BiblioDefaultViewlabeled_marc %] -- 2.39.5