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.
---
opac/opac-search.pl | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/opac/opac-search.pl b/opac/opac-search.pl
index 176bc12..5f3ad86 100755
--- a/opac/opac-search.pl
+++ b/opac/opac-search.pl
@@ -737,7 +737,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
--
1.7.5.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/