Commit 29cf8805 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Frédéric…

Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
parent b1457ecf
...@@ -674,6 +674,9 @@ if ($format->{'extension'} eq 'ics') { ...@@ -674,6 +674,9 @@ if ($format->{'extension'} eq 'ics') {
} }
if ($format->{'extension'} eq 'rss') { 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. # This is the list of fields that are needed by the rss filter.
my @required_rss_columns = ( my @required_rss_columns = (
'short_desc', 'short_desc',
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
style = style style = style
rsslink = "buglist.cgi?$urlquerypart&ctype=rss" rsslink = "buglist.cgi?$urlquerypart&title=$title&ctype=rss"
%] %]
<div align="center"> <div align="center">
...@@ -168,7 +168,8 @@ ...@@ -168,7 +168,8 @@
<a href="buglist.cgi? <a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;ctype=csv">CSV</a> | [% urlquerypart FILTER html %]&amp;ctype=csv">CSV</a> |
<a href="buglist.cgi? <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? <a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a> | [% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a> |
<a href="colchange.cgi? <a href="colchange.cgi?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment