Bugzilla – Attachment 143297 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.37 KB, created by
Owen Leonard
on 2022-11-05 16:05:40 UTC
(
hide
)
Description:
Bug 32114: Add missing html_helpers.inc
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-11-05 16:05:40 UTC
Size:
1.37 KB
patch
obsolete
>From 261d2fcb218bb97c8b0fcf0bfd48ed77a8d5204b 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. >--- > 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