Bug 21805: Duplicate include file in search results template causes JS error
authorOwen Leonard <oleonard@myacpl.org>
Fri, 9 Nov 2018 19:02:25 +0000 (19:02 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 15 Nov 2018 12:47:34 +0000 (12:47 +0000)
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 <pierre-marc.thibault@inLibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt

index fb470a1..3f14e6e 100644 (file)
@@ -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 %]