[Koha-patches] [PATCH] Bug 3450: RSS feed link for a tag search incorrect.

Garry Collum gcollum at gmail.com
Sat Aug 8 18:01:10 CEST 2009


Adds the tag parameter to the RSS feed link if the results of a query are retrieved from a tag in opac.
---
 opac/opac-search.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opac/opac-search.pl b/opac/opac-search.pl
index 9b8b00c..176b7ad 100755
--- a/opac/opac-search.pl
+++ b/opac/opac-search.pl
@@ -369,6 +369,7 @@ my $results_hashref;
 my @coins;
 
 if ($tag) {
+	$query_cgi = "tag=" .$tag . "&" . $query_cgi;
 	my $taglist = get_tags({term=>$tag, approved=>1});
 	$results_hashref->{biblioserver}->{hits} = scalar (@$taglist);
 	my @biblist  = (map {GetBiblioData($_->{biblionumber})} @$taglist);
-- 
1.5.6.5




More information about the Koha-patches mailing list