]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 511216: Assignee is blank in Whine emails - Patch by Kent Rogers <kar@cray.com...
authorlpsolit%gmail.com <>
Mon, 28 Dec 2009 00:58:47 +0000 (00:58 +0000)
committerlpsolit%gmail.com <>
Mon, 28 Dec 2009 00:58:47 +0000 (00:58 +0000)
template/en/default/whine/mail.html.tmpl
template/en/default/whine/mail.txt.tmpl
whine.pl

index cd432514f98b9de984b28934e14f9933604394f1..a4f0edeefef86b0138c80b505dcf19174b3a5aa5 100644 (file)
 [% PROCESS global/variables.none.tmpl %]
 [% PROCESS 'global/field-descs.none.tmpl' %]
 
-[%# assignee_login_string is a literal string used for getting the 
-  # assignee's name out of the bug data %]
-[% SET assignee_login_string="map_assigned_to.login_name" %]
-
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
   <head>
@@ -81,7 +77,7 @@
         <td align="left">[% display_value("bug_severity", bug.bug_severity) FILTER html %]</td>
         <td align="left">[% display_value("priority", bug.priority) FILTER html %]</td>
         <td align="left">[% display_value("rep_platform", bug.rep_platform) FILTER html %]</td>
-        <td align="left">[% bug.$assignee_login_string FILTER html %]</td>
+        <td align="left">[% bug.assigned_to FILTER html %]</td>
         <td align="left">[% display_value("bug_status", bug.bug_status) FILTER html %]</td>
         <td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td>
         <td align="left">[% bug.short_desc FILTER html %]</td>
index 41508130275080efb10c4cc2eab84a8865fe683d..862ae26711bd9f6fa7fd17e6a75b20267d2c6774 100644 (file)
 [% PROCESS global/variables.none.tmpl %]
 [% PROCESS 'global/field-descs.none.tmpl' %]
 
-[%# assignee_login_string is a literal string used for getting the 
-  # assignee's name out of the bug data %]
-[% SET assignee_login_string="map_assigned_to.login_name" %]
-
 [% body %]
 
 [% IF author.login == recipient.login %]
@@ -56,7 +52,7 @@
   Priority: [%+ display_value("priority", bug.priority) -%]
   Severity: [%+ display_value("bug_severity", bug.bug_severity) -%]
   Platform: [%+ display_value("rep_platform", bug.rep_platform) %]
-  Assignee: [%+ bug.$assignee_login_string %]
+  Assignee: [%+ bug.assigned_to %]
     Status: [%+ display_value("bug_status", bug.bug_status) %]
             [%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]
                                 [%- END %]
index b2508edc2f52198a0ec7b3e7d8665abf8aa24063..10e9a5e13e0c39d4e71fa100a65ac8b99fc618d1 100755 (executable)
--- a/whine.pl
+++ b/whine.pl
@@ -440,7 +440,6 @@ sub run_queries {
             bug_status
             resolution
             short_desc
-            assigned_to
         );
         # A new Bugzilla::CGI object needs to be created to allow
         # Bugzilla::Search to execute a saved query.  It's exceedingly weird,