]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 537834 - "Buglist results using atom ctype do not display users with empty real...
authorReed Loden <reed@reedloden.com>
Sun, 28 Feb 2010 20:15:34 +0000 (14:15 -0600)
committerReed Loden <reed@reedloden.com>
Sun, 28 Feb 2010 20:15:34 +0000 (14:15 -0600)
[r=LpSolit a=LpSolit]

buglist.cgi
template/en/default/list/list.atom.tmpl

index f5e5e79562395122444f6ace02c318ff9961e9c4..b6d642d6b0b4d7aa7e2f1089b423dd8fe0190795 100755 (executable)
@@ -780,9 +780,11 @@ if ($format->{'extension'} eq 'atom') {
       'short_desc',
       'opendate',
       'changeddate',
+      'reporter',
       'reporter_realname',
       'priority',
       'bug_severity',
+      'assigned_to',
       'assigned_to_realname',
       'bug_status',
       'product',
index 5086a044c66fa286f932f41a903a927ada0c87b8..5985dc6d9d86b1c817dfe58144acb5134bf00ffc 100644 (file)
@@ -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">
         <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>[% bug.bug_status FILTER html %]</td>