]> 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 01:00:48 +0000 (01:00 +0000)
committerlpsolit%gmail.com <>
Mon, 28 Dec 2009 01:00:48 +0000 (01:00 +0000)
template/en/default/whine/mail.html.tmpl
template/en/default/whine/mail.txt.tmpl
whine.pl

index e1df9dbad70d4105e220682b3145edc539267c1e..44795a55b154fa249b86e7f410b080112db0f7b7 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">[% bug.bug_severity FILTER html %]</td>
         <td align="left">[% bug.priority FILTER html %]</td>
         <td align="left">[% 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">[% get_status(bug.bug_status) FILTER html %]</td>
         <td align="left">[% get_resolution(bug.resolution) FILTER html %]</td>
         <td align="left">[% bug.short_desc FILTER html %]</td>
index 4375ee13b252cec7d65d0acc1e119ab8334f8dfd..9099f4a6573b64fb7be259dc26eec463e8f964c0 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: [%+ bug.priority -%]
   Severity: [%+ bug.bug_severity -%]
   Platform: [%+ bug.rep_platform %]
-  Assignee: [%+ bug.$assignee_login_string %]
+  Assignee: [%+ bug.assigned_to %]
     Status: [%+ get_status(bug.bug_status) %]
             [%- IF bug.resolution -%] Resolution: [% get_resolution(bug.resolution) -%]
                                 [%- END %]
index d8c8e8f4c965b97fb66ce0eae099194d5f15c3e1..caebc7ad888767e2ecdcf4f8ea4304c599f24120 100755 (executable)
--- a/whine.pl
+++ b/whine.pl
@@ -434,7 +434,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,