Closed Bug 578240 Opened 14 years ago Closed 14 years ago

Can't use "owner" to search for "assigned_to" in Quicksearch anymore

Categories

(Bugzilla :: Query/Bug List, defect)

3.6.1
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: stechz, Assigned: reed)

References

Details

(Keywords: regression)

Attachments

(1 file)

owner is a shortcut for owner_idle_time (i.e. time since assignee touched), not a shortcut for assignee. What you want is either: assignee:dolske, or @dolske, which is even shorter.
Indeed, there is no shortcut for owner. If there ever was, it's possible that I removed it as part of the 3.6 update. However, there are full docs on what field names are available, I believe, using the question mark link next to the quicksearch box.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
"Internal server error" is not a reasonable error message.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
By the way, did "owner:" used to work? It wouldn't be too hard to add back. But I agree with Jesse, we should not be sending a 500 for this.
OS: Mac OS X → All
Hardware: x86 → All
Summary: Internal error while quicksearching for owner → Quicksearch throws an "Internal Error" if you use an invalid field name
Target Milestone: --- → Bugzilla 3.6
Flags: blocking3.6.2+
Assignee: general → query-and-buglist
Component: Bugzilla-General → Query/Bug List
Version: unspecified → 3.6.1
Yes, "owner:" was an alias/shortcut for "assignee:" in previous versions.
(In reply to comment #5) > By the way, did "owner:" used to work? It wouldn't be too hard to add back. It was working till Bugzilla 3.4 included, but we stopped documenting and officially supporting owner: since Bugzilla 2.20, see bug 76507 (so Bugzilla 2.18 was the last release where owner: was documented). This gave 5 years to people to update their queries. IMO, there is no reason to bring it back.
Status: REOPENED → NEW
It's fewer characters. People like me don't "update their queries", they type new Bugzilla searches many times per day.
Attached patch patch - v1 (deleted) — Splinter Review
It costs us nothing to support it again, so I don't see why we shouldn't.
Assignee: query-and-buglist → reed
Status: NEW → ASSIGNED
Attachment #457882 - Flags: review?(mkanat)
er, this doesn't actually fix this bug. I guess I should file a separate bug for owner:.
Assignee: reed → query-and-buglist
Status: ASSIGNED → NEW
FYI, "assi" will also work now. Any abbreviation is accepted that uniquely matches a field name.
Comment on attachment 457882 [details] [diff] [review] patch - v1 Sorry, but no. Now you break owner as a shortcut for owner_idle_time. We removed all special shortcuts on purpose. I would be fine restoring owner if it didn't match any other field name, but that's not the case here.
Attachment #457882 - Flags: review?(mkanat) → review-
Summary: Quicksearch throws an "Internal Error" if you use an invalid field name → Quicksearch throws an "Internal Error" if you use a string for the owner_idle_time field
Summary: Quicksearch throws an "Internal Error" if you use a string for the owner_idle_time field → Can't use "owner" to search for "assigned_to" in Quicksearch anymore
Comment on attachment 457882 [details] [diff] [review] patch - v1 I've changed my mind, I'm going to allow this. I don't see any reason not to allow "owner". The actual ISE is about putting a non-date value into the owner_idle_time field, which isn't a bug I want to fix on 3.6, and is already fixed on 4.0. (Sorry about overriding your r- LpSolit, but I think it's OK to allow "owner" as an alias--I don't think it's really that important to search owner_idle_time.)
Attachment #457882 - Flags: review+
Assignee: query-and-buglist → reed
Flags: approval4.0+
Flags: approval3.6+
Flags: approval+
Severity: normal → minor
Also, I didn't actually remove all special shortcuts--there are still a lot of them, actually.
Flags: approval?
Flags: approval4.0?
Flags: approval4.0+
Flags: approval3.6?
Flags: approval3.6+
Flags: approval+
hmm.... what's the use case for owner_idle_time? My initial thinking on this is that's sort of an obscure field, and would probably be sufficient to let people go to the advanced search to get that. On the other hand, I suppose the folks most interested in searching that field would probably be management types who may find the advanced search a bit daunting. I'd see no issue with making a different shortcut for owner_idle_time (like "oit" or just spelling it all the way out or something).
I guess more to the point, being able to search for owner from quicksearch seems pretty useful to me, and it ought to work.
Comment on attachment 457882 [details] [diff] [review] patch - v1 So Dave has spoken.
Attachment #457882 - Flags: review-
Flags: approval?
Flags: approval4.0?
Flags: approval4.0+
Flags: approval3.6?
Flags: approval3.6+
Flags: approval+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Search/Quicksearch.pm Committed revision 7398. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.0/ modified Bugzilla/Search/Quicksearch.pm Committed revision 7342. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/ modified Bugzilla/Search/Quicksearch.pm Committed revision 7145.
Status: NEW → RESOLVED
Closed: 14 years ago14 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: