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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:23 +0000 (23:19 +0200)
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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
opac/opac-search.pl

index 0c55cd3..cac50e7 100755 (executable)
@@ -383,6 +383,7 @@ my @results_array;
 my $results_hashref;
 
 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);