summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-10-14 18:19:50 +0200
committerDylan William Hardison <dylan@hardison.net>2018-10-14 18:19:50 +0200
commitce00a61057535d49aa0e83181a1d317d7842571b (patch)
tree280243de9ff791449fb2c82f3f0f2b9bd931d5b2 /buglist.cgi
parent6367a26da4093a8379e370ef328e9507c98b2e7e (diff)
parent6657fa9f5210d5b5a9b14c0cba6882bd56232054 (diff)
downloadbugzilla-ce00a61057535d49aa0e83181a1d317d7842571b.tar.gz
bugzilla-ce00a61057535d49aa0e83181a1d317d7842571b.tar.xz
Merge remote-tracking branch 'bmo/master'
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi
index d1cde7096..8de38599f 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -590,9 +590,6 @@ if ($format->{'extension'} eq 'ics') {
}
if ($format->{'extension'} eq 'atom') {
- # The title of the Atom 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 Atom filter.
my @required_atom_columns = (
'short_desc',
@@ -1060,6 +1057,10 @@ $vars->{'defaultsavename'} = $cgi->param('query_based_on');
# string in the text field.
$vars->{'quicksearch'} = $searchstring;
+# Allow to custimize the title of HTML page and Atom feed. Also allow to pass
+# the title from HTML page to Atom feed through a link.
+$vars->{'title'} = $cgi->param('title');
+
################################################################################
# HTTP Header Generation
################################################################################