From: lpsolit%gmail.com <> Date: Sat, 19 Nov 2005 09:29:22 +0000 (+0000) Subject: Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Frédéric Buclin... X-Git-Tag: bugzilla-2.22rc1~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29cf8805dac7281cb4f4e52ee48177a3a679a0c4;p=thirdparty%2Fbugzilla.git Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Frédéric Buclin r/a=myk --- diff --git a/buglist.cgi b/buglist.cgi index c46141638e..2d24719b81 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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', diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 01f7678fde..eb1f2799aa 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -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" %]
@@ -168,7 +168,8 @@ CSV | RSS | + [% urlquerypart FILTER html %]&title= + [%- title FILTER html %]&ctype=rss">RSS | iCalendar |