From 10d351b9be05702acb4a1efb29cccb70f811524a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 15 Apr 2012 00:09:34 +0200 Subject: [PATCH] Bug 3337 - RSS link is not correct for searches without results RSS links for searches without results didn't have the search terms. To test: - Search for something with results and check RSS link - Search for something with no results and check RSS link In both cases your search should show up in the link. Signed-off-by: Nicole C. Engard RSS Link works in both cases listed in test plan. Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov --- opac/opac-search.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 21430d38b5..a8e9f2f66a 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -679,7 +679,13 @@ for (my $i=0;$i<@servers;$i++) { } # no hits else { - $template->param(searchdesc => 1,query_desc => $query_desc,limit_desc => $limit_desc); + $template->param( + searchdesc => 1, + query_desc => $query_desc, + limit_desc => $limit_desc, + query_cgi => $query_cgi, + limit_cgi => $limit_cgi + ); } } # end of the if local # asynchronously search the authority server -- 2.39.5