Bugzilla – Attachment 143298 Details for
Bug 32114
Template error in OPAC search results RSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32114: Add missing html_helpers.inc
Bug-32114-Add-missing-htmlhelpersinc.patch (text/plain), 1.42 KB, created by
David Nind
on 2022-11-05 17:53:38 UTC
(
hide
)
Description:
Bug 32114: Add missing html_helpers.inc
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-11-05 17:53:38 UTC
Size:
1.42 KB
patch
obsolete
>From 3da515348954730a4b76c486c2829802cfe350d3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sat, 5 Nov 2022 16:02:55 +0000 >Subject: [PATCH] Bug 32114: Add missing html_helpers.inc > >This patch makes a minor modification to the OPAC >search results RSS template so that an error isn't >triggered. The html_helpers include was missing. > >To test, apply the patch and perform a catalog >search in the OPAC which will return results. > >At the end of the "Your search results" heading >you should see an orange RSS icon. Clicking on it >should take you to an RSS feed instead of an >error page. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >index 798c724c7d..1d45fb5b81 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >@@ -1,7 +1,7 @@ > <?xml version='1.0' encoding='utf-8' ?> > [%- USE raw -%] > [%- USE Koha -%] >- >+[%- PROCESS 'html_helpers.inc' -%] > [% IF ( opensearchdescription ) %] > <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> > <ShortName>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Library catalog[% END %]</ShortName> >-- >2.30.2
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 32114
:
143297
|
143298
|
143495