add the ability to filter on "fields containing the string"

RESOLVED FIXED

Status

()

bugzilla.mozilla.org
Extensions: BugmailFilter
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: glob, Assigned: glob)

Tracking

Production
x86
Mac OS X

Details

Attachments

(1 attachment)

due to the level of field granularity it's currently impossible to filter out changes to some fields.  eg. specific flags or tracking fields.

it won't be that much work to add the ability to filter on "fields containing", and ask the user for a string.

eg. Field: ( Contains: )
           [ qe-verify ]
Blocks: 1054141
Assignee: nobody → glob
No longer blocks: 1054141
Created attachment 8478798 [details] [diff] [review]
1054138_1.patch

- adds a "Contains:" to the field selector on bugmail filter prefs
- internally stored as "~$value"
- updates matching and checking code
Attachment #8478798 - Flags: review?(dkl)
Comment on attachment 8478798 [details] [diff] [review]
1054138_1.patch

Review of attachment 8478798 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good and works as expected. r=dkl
Attachment #8478798 - Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   bd23fbf..e1e2ca4  master -> master
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
somehow i missed that hyphens should be allowed in the field name (my example of qe-verify even had a hyphen!):

To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   adfbc67..7f1e1ce  master -> master
this is now live.
thank you thank you thank you
You need to log in before you can comment on or make changes to this bug.