Closed Bug 333040 Opened 19 years ago Closed 19 years ago

Cannot search based on "Attachment Creator"

Categories

(Bugzilla :: Query/Bug List, enhancement)

2.23
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file, 1 obsolete file)

I would like to be able to use boolean charts to look for bugs where: "Attachment creator" "is" foo@bar.com
Summary: Cannot query for bugs where some user posted an attachment → Cannot search based on "Attachment Creator"
Attached patch patch, v1 (obsolete) — Splinter Review
It's the first time I hack Search.pm, so don't trust this patch too much. :)
Assignee: query-and-buglist → LpSolit
Status: NEW → ASSIGNED
Attachment #237507 - Flags: review?(bugreport)
Target Milestone: --- → Bugzilla 3.0
Attached patch patch, v1.1Splinter Review
For consistency with the UI of the attachment table, let's call it "attachment creator" instead of "attachment submitter".
Attachment #237507 - Attachment is obsolete: true
Attachment #237509 - Flags: review?(bugreport)
Attachment #237507 - Flags: review?(bugreport)
joel, did you have time to test this patch?
I did not, but I did have time to inspect it and the logic is correct. So, if someone wants to r+ it based on coding standards and testing, they can be reassured by my insepction results.
But this query doesn't only find attachments I posted, but also those I changed I guess. ;)
(In reply to comment #6) > But this query doesn't only find attachments I posted, but also those I changed > I guess. ;) > True, but you can't edit the attachment data after posting it.
Comment on attachment 237509 [details] [diff] [review] patch, v1.1 Looks good, works fine!
Attachment #237509 - Flags: review?(bugreport) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/Field.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Field.pm,v <-- Field.pm new revision: 1.22; previous revision: 1.21 done Checking in Bugzilla/Search.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm new revision: 1.141; previous revision: 1.140 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: