Bugzilla – Attachment 143495 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.48 KB, created by
Katrin Fischer
on 2022-11-09 12:16:31 UTC
(
hide
)
Description:
Bug 32114: Add missing html_helpers.inc
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-11-09 12:16:31 UTC
Size:
1.48 KB
patch
obsolete
>From 1da4c58f15e5a07d6ed37b5562b655435e3f1b3f 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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