Bug 11308: fix RSS page in bootstrap theme
authorChris Cormack <chris@bigballofwax.co.nz>
Tue, 26 Nov 2013 17:17:28 +0000 (06:17 +1300)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 27 Nov 2013 15:50:19 +0000 (15:50 +0000)
To test:
1/ Do a search in the opac, click on the rss feed icon
2/ Notice the page renders, not like an rss feed should
3/ Apply the patch and refresh
4/ Page should now be (more) valid xml

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Small change, big difference. With the patch the content of
the RSS feed renders like it does for the prog theme.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt

index 7b9cd8b..34cfcc5 100644 (file)
@@ -1,5 +1,5 @@
-[% USE Koha %]
 <?xml version='1.0' encoding='utf-8'  ?>
+[% USE Koha %]
 [% IF ( opensearchdescription ) %]
 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
    <ShortName>[% LibraryName |html %] Search</ShortName>