diff options
-rwxr-xr-x | buglist.cgi | 2 | ||||
-rw-r--r-- | template/en/default/list/list.atom.tmpl | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi index 48fe2d873..a472edee4 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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', diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl index 3c504f9c9..6be1d7436 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 %]"/> <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> |