Closed Bug 1054138 Opened 6 years ago Closed 6 years ago

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

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file)

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
Attached patch 1054138_1.patchSplinter Review
- 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
Closed: 6 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
Component: Extensions: BugmailFilter → Extensions
You need to log in before you can comment on or make changes to this bug.