[Koha-bugs] [Bug 16111] RSS feed for OPAC search results has wrong content type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 14 12:16:58 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16111

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #34 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Julian Maurice from comment #33)
> Comment on attachment 78579 [details] [review]
> Bug 16111: Fix atom support
> 
> Review of attachment 78579 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt
> @@ +93,5 @@
> >  
> >     [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
> >     <entry>
> > +     <title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %]</title>
> > +     <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link>
> 
> Shouldn't the URL be in the link's href attribute ?

The <link> element is an empty element, it contains attributes only.
So yes.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list