From b10097ca27ea89e80f97739ebe130e49a86f0e6c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 29 Sep 2023 18:33:59 +0000 Subject: [PATCH] Bug 34961: Add sort parameter to OPAC search results RSS feed link This patch corrects two RSS links in the OPAC search results template so that they include the correct parameters, including the descending sort by acquisition date. To test, apply the patch and go to the OPAC. - Perform a catalog search which will return search results. - Next to the page heading "Your search returned X results" is an RSS link. Check the link to confirm that it has all the expected parameters: opac-search.pl?idx=kw&q=nude&count=50&sort_by=acqdate_dsc&format=rss - Perform a search which will return no results and check the RSS link on that page. It should be the same. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 1f730fb8665a53457ad709933d3518577c041a6e) Signed-off-by: Fridolin Somers --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index b044962f93..8fa665415d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -68,7 +68,7 @@

[% IF ( searchdesc ) %] No results found for that in [% LibraryName | html %] catalog. - + [% ELSE %] @@ -112,7 +112,7 @@ [% IF ( total ) %]

Your search returned [% total | html %] results. - +

-- 2.39.5