Bugzilla – Attachment 82197 Details for
Bug 21805
Duplicate include file in search results template causes JS error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21805: Duplicate include file in search results template causes JS error
Bug-21805-Duplicate-include-file-in-search-results.patch (text/plain), 1.39 KB, created by
Owen Leonard
on 2018-11-09 19:04:56 UTC
(
hide
)
Description:
Bug 21805: Duplicate include file in search results template causes JS error
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-11-09 19:04:56 UTC
Size:
1.39 KB
patch
obsolete
>From e0649a7d8b0929cfc32b8227732359ab1ee8c83b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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. >--- > 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 bd0a838..d66590b 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21805
:
82197
|
82202
|
82341