Commit bb2b0198 authored by Reed Loden's avatar Reed Loden

Bug 537834 - "Buglist results using atom ctype do not display users with empty real names"

[r=LpSolit a=LpSolit]
parent da55a304
......@@ -724,9 +724,11 @@ if ($format->{'extension'} eq 'atom') {
'short_desc',
'opendate',
'changeddate',
'reporter',
'reporter_realname',
'priority',
'bug_severity',
'assigned_to',
'assigned_to_realname',
'bug_status',
'product',
......
......@@ -48,7 +48,7 @@
[%- bug.bug_id FILTER xml %]"/>
<id>[% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %]</id>
<author>
<name>[% bug.reporter_realname FILTER xml %]</name>
<name>[% bug.reporter_realname ? bug.reporter_realname : bug.reporter FILTER xml %]</name>
</author>
<updated>[% bug.changedtime FILTER time("%Y-%m-%dT%H:%M:%SZ", "UTC") FILTER xml %]</updated>
<summary type="html">
......@@ -65,10 +65,10 @@
<td>[% bug.component FILTER html %]</td>
</tr><tr class="bz_feed_assignee">
<td>[% columns.assigned_to_realname.title FILTER html %]</td>
<td>[% bug.assigned_to_realname FILTER html %]</td>
<td>[% bug.assigned_to_realname ? bug.assigned_to_realname : bug.assigned_to FILTER html %]</td>
</tr><tr class="bz_feed_reporter">
<td>[% columns.reporter_realname.title FILTER html %]</td>
<td>[% bug.reporter_realname FILTER html %]</td>
<td>[% bug.reporter_realname ? bug.reporter_realname : bug.reporter FILTER html %]</td>
</tr><tr class="bz_feed_bug_status">
<td>[% columns.bug_status.title FILTER html %]</td>
<td>[% display_value("bug_status", bug.bug_status) FILTER html %]</td>
......
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