Bug 3450: RSS feed link for a tag search incorrect.
authorGarry Collum <gcollum@gmail.com>
Sat, 8 Aug 2009 16:01:10 +0000 (12:01 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Sun, 9 Aug 2009 17:08:41 +0000 (13:08 -0400)
Adds the tag parameter to the RSS feed link if the results of a query are retrieved from a tag in opac.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/opac-search.pl

index 9b8b00c..176b7ad 100755 (executable)
@@ -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);