Code

gitweb: limit links to alternate forms of project_list to active project_filter
[git.git] / gitweb / gitweb.perl
index daacf87e6a646004ebce534ef4ad7bb0e22bab63..ecd4a39d22768c5ac7a577ae43928d3aea28867f 100755 (executable)
@@ -3979,9 +3979,11 @@ sub git_footer_html {
                }
 
        } else {
-               print $cgi->a({-href => href(project=>undef, action=>"opml"),
+               print $cgi->a({-href => href(project=>undef, action=>"opml",
+                                            project_filter => $project_filter),
                              -class => $feed_class}, "OPML") . " ";
-               print $cgi->a({-href => href(project=>undef, action=>"project_index"),
+               print $cgi->a({-href => href(project=>undef, action=>"project_index",
+                                            project_filter => $project_filter),
                              -class => $feed_class}, "TXT") . "\n";
        }
        print "</div>\n"; # class="page_footer"