]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Frédéric Buclin...
authorlpsolit%gmail.com <>
Sat, 19 Nov 2005 09:29:22 +0000 (09:29 +0000)
committerlpsolit%gmail.com <>
Sat, 19 Nov 2005 09:29:22 +0000 (09:29 +0000)
buglist.cgi
template/en/default/list/list.html.tmpl

index c46141638e89e157bb77a284e4a13dacf4aba78e..2d24719b810e592200c1b41f4addd60c4fd8ae74 100755 (executable)
@@ -674,6 +674,9 @@ if ($format->{'extension'} eq 'ics') {
 }
 
 if ($format->{'extension'} eq 'rss') {
+    # The title of the RSS feed will be the same one as for the bug list.
+    $vars->{'title'} = $cgi->param('title');
+
     # This is the list of fields that are needed by the rss filter.
     my @required_rss_columns = (
       'short_desc',
index 01f7678fde7ad1050fbc88b2ccc3bd17b662b29d..eb1f2799aafa7363a9f95751b64ec01880a81082 100644 (file)
@@ -48,7 +48,7 @@
 [% PROCESS global/header.html.tmpl
   title = title
   style = style
-  rsslink = "buglist.cgi?$urlquerypart&ctype=rss" 
+  rsslink = "buglist.cgi?$urlquerypart&title=$title&ctype=rss" 
 %]
 
 <div align="center">
         <a href="buglist.cgi?
         [% urlquerypart FILTER html %]&amp;ctype=csv">CSV</a> |
         <a href="buglist.cgi?
-        [% urlquerypart FILTER html %]&amp;ctype=rss">RSS</a> |
+        [% urlquerypart FILTER html %]&amp;title=
+        [%- title FILTER html %]&amp;ctype=rss">RSS</a> |
         <a href="buglist.cgi?
         [% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a> |
         <a href="colchange.cgi?