Commit 89a15fbe authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 511216: Assignee is blank in Whine emails - Patch by Kent Rogers <kar@cray.com> r/a=Lpsolit

parent 3a8bc27b
...@@ -31,10 +31,6 @@ ...@@ -31,10 +31,6 @@
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% PROCESS 'global/field-descs.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"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
...@@ -81,7 +77,7 @@ ...@@ -81,7 +77,7 @@
<td align="left">[% display_value("bug_severity", bug.bug_severity) FILTER html %]</td> <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("priority", bug.priority) FILTER html %]</td>
<td align="left">[% display_value("rep_platform", bug.rep_platform) 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("bug_status", bug.bug_status) FILTER html %]</td>
<td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td> <td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td>
<td align="left">[% bug.short_desc FILTER html %]</td> <td align="left">[% bug.short_desc FILTER html %]</td>
......
...@@ -31,10 +31,6 @@ ...@@ -31,10 +31,6 @@
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% PROCESS 'global/field-descs.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 %] [% body %]
[% IF author.login == recipient.login %] [% IF author.login == recipient.login %]
...@@ -56,7 +52,7 @@ ...@@ -56,7 +52,7 @@
Priority: [%+ display_value("priority", bug.priority) -%] Priority: [%+ display_value("priority", bug.priority) -%]
Severity: [%+ display_value("bug_severity", bug.bug_severity) -%] Severity: [%+ display_value("bug_severity", bug.bug_severity) -%]
Platform: [%+ display_value("rep_platform", bug.rep_platform) %] 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) %] Status: [%+ display_value("bug_status", bug.bug_status) %]
[%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%] [%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]
[%- END %] [%- END %]
......
...@@ -440,7 +440,6 @@ sub run_queries { ...@@ -440,7 +440,6 @@ sub run_queries {
bug_status bug_status
resolution resolution
short_desc short_desc
assigned_to
); );
# A new Bugzilla::CGI object needs to be created to allow # A new Bugzilla::CGI object needs to be created to allow
# Bugzilla::Search to execute a saved query. It's exceedingly weird, # Bugzilla::Search to execute a saved query. It's exceedingly weird,
......
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