summaryrefslogtreecommitdiffstats
path: root/extensions/BugmailFilter
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-07-21 16:32:59 +0200
committerByron Jones <glob@mozilla.com>2014-07-21 16:32:59 +0200
commit7bd3b9d8bfaade262564d39e16e8e39a5690d86b (patch)
tree27e16f90144d5ab8e036d8434f795275150e7044 /extensions/BugmailFilter
parente259f746c797a19f6417e71895fa4584fbefde7b (diff)
downloadbugzilla-7bd3b9d8bfaade262564d39e16e8e39a5690d86b.tar.gz
bugzilla-7bd3b9d8bfaade262564d39e16e8e39a5690d86b.tar.xz
Bug 1041538: A few more "Bugmail filtering" fields need to be excluded from the prefs UI
Diffstat (limited to 'extensions/BugmailFilter')
-rw-r--r--extensions/BugmailFilter/lib/Constants.pm6
-rw-r--r--extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl2
2 files changed, 7 insertions, 1 deletions
diff --git a/extensions/BugmailFilter/lib/Constants.pm b/extensions/BugmailFilter/lib/Constants.pm
index 98b5793af..ee28427f7 100644
--- a/extensions/BugmailFilter/lib/Constants.pm
+++ b/extensions/BugmailFilter/lib/Constants.pm
@@ -38,16 +38,22 @@ use constant FAKE_FIELD_NAMES => [
use constant IGNORE_FIELDS => qw(
attach_data.thedata
attachments.submitter
+ cf_last_resolved
+ commenter
comment_tag
+ creation_ts
days_elapsed
delta_ts
everconfirmed
+ last_visit_ts
longdesc
longdescs.count
owner_idle_time
reporter
reporter_accessible
+ setters.login_name
tag
+ votes
);
# override the description of some fields
diff --git a/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl b/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl
index 6d59e52b1..12c745adb 100644
--- a/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl
+++ b/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl
@@ -143,7 +143,7 @@ var cpts = new Array();
</td>
<td>[% filter.product ? filter.product.name : 'Any' FILTER html %]</td>
<td>[% filter.component ? filter.component.name : 'Any' FILTER html %]</td>
- <td>[% filter.field ? fields.${filter.field.name} : 'Any' FILTER html %]</td>
+ <td>[% filter.field ? fields.${filter.field.name} || filter.field.description : 'Any' FILTER html %]</td>
<td>[% filter.relationship ? filter.relationship_name : 'Any' FILTER html %]</td>
<td>[% filter.action ? 'Exclude' : 'Include' %]</td>
</tr>