summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/whine/mail.html.tmpl6
-rw-r--r--template/en/default/whine/mail.txt.tmpl6
-rwxr-xr-xwhine.pl1
3 files changed, 2 insertions, 11 deletions
diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl
index cd432514f..a4f0edeef 100644
--- a/template/en/default/whine/mail.html.tmpl
+++ b/template/en/default/whine/mail.html.tmpl
@@ -31,10 +31,6 @@
[% 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>
diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl
index 415081302..862ae2671 100644
--- a/template/en/default/whine/mail.txt.tmpl
+++ b/template/en/default/whine/mail.txt.tmpl
@@ -31,10 +31,6 @@
[% 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 %]
diff --git a/whine.pl b/whine.pl
index b2508edc2..10e9a5e13 100755
--- 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,