From 7bd3b9d8bfaade262564d39e16e8e39a5690d86b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 21 Jul 2014 22:32:59 +0800 Subject: Bug 1041538: A few more "Bugmail filtering" fields need to be excluded from the prefs UI --- extensions/BugmailFilter/lib/Constants.pm | 6 ++++++ .../template/en/default/account/prefs/bugmail_filter.html.tmpl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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(); [% filter.product ? filter.product.name : 'Any' FILTER html %] [% filter.component ? filter.component.name : 'Any' FILTER html %] - [% filter.field ? fields.${filter.field.name} : 'Any' FILTER html %] + [% filter.field ? fields.${filter.field.name} || filter.field.description : 'Any' FILTER html %] [% filter.relationship ? filter.relationship_name : 'Any' FILTER html %] [% filter.action ? 'Exclude' : 'Include' %] -- cgit v1.2.3-24-g4f1b