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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2022-11-05 16:02:55 +00:00 committed by Tomas Cohen Arazi
parent e4079d17f3
commit 2621f28376
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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>