From: Reed Loden Date: Sun, 28 Feb 2010 20:15:06 +0000 (-0600) Subject: Bug 537834 - "Buglist results using atom ctype do not display users with empty real... X-Git-Tag: bugzilla-3.6rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5791d46ea63e0ff8fa24b3b4c8c5ff8f1736e8;p=thirdparty%2Fbugzilla.git Bug 537834 - "Buglist results using atom ctype do not display users with empty real names" [r=LpSolit a=LpSolit] --- diff --git a/buglist.cgi b/buglist.cgi index b8cfa63367..afe37dfdbc 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -736,9 +736,11 @@ if ($format->{'extension'} eq 'atom') { 'short_desc', 'opendate', 'changeddate', + 'reporter', 'reporter_realname', 'priority', 'bug_severity', + 'assigned_to', 'assigned_to_realname', 'bug_status', 'product', diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl index 3c504f9c9b..6be1d7436a 100644 --- a/template/en/default/list/list.atom.tmpl +++ b/template/en/default/list/list.atom.tmpl @@ -48,7 +48,7 @@ [%- bug.bug_id FILTER xml %]"/> [% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %] - [% bug.reporter_realname FILTER xml %] + [% bug.reporter_realname ? bug.reporter_realname : bug.reporter FILTER xml %] [% bug.changedtime FILTER time("%Y-%m-%dT%H:%M:%SZ", "UTC") FILTER xml %] @@ -65,10 +65,10 @@ [% bug.component FILTER html %] [% columns.assigned_to_realname.title FILTER html %] - [% bug.assigned_to_realname FILTER html %] + [% bug.assigned_to_realname ? bug.assigned_to_realname : bug.assigned_to FILTER html %] [% columns.reporter_realname.title FILTER html %] - [% bug.reporter_realname FILTER html %] + [% bug.reporter_realname ? bug.reporter_realname : bug.reporter FILTER html %] [% columns.bug_status.title FILTER html %] [% display_value("bug_status", bug.bug_status) FILTER html %]