Closed Bug 76073 Opened 24 years ago Closed 24 years ago

quicksearch: + and - prefixes doesn't work in IE or opera

Categories

(Bugzilla :: Bugzilla-General, defect, P1)

Other
Other
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.14

People

(Reporter: jruderman, Assigned: afranke)

References

()

Details

(Whiteboard: needed to make QuickSearch work in IE)

Attachments

(2 files)

+ is ignored as a quicksearch prefix ("+foo" searches for bugs with "+foo" in product, summary, etc). According to the documentation, it's supposed to search in only the summary field. Btw, the documentation gives an example of "+brow does not find all bugs in the Browser product". This is confusing, because the example says what doesn't happen without saying what does happen. I think the example should be replaced with 'For example, use "+news" to find bugs with "news" in the summary without also finding all bugs in the MailNews product'.)
"..." is used to escape all enclosed characters, i.e. treat them literally. Thus "+foo" with explicit quotes means ``find the bugs with the substring `+foo' in the summary''. If entered without the quotes, "+foo" works fine for me. Maybe the documentation needs to be improved to make this clear. You are right that the +brow example should be improved. Sean Richardson had promised to write down some comments "about the presentation fo the usage information", too.
Assignee: tara → afranke
The previous comment was inaccurate: "+foo" means ``find the bugs with the substring `+foo' in the summary, product, component, status whiteboard, or as a keyword.'' You can use +"foo" for the desired summary-only semantics.
Since you (afranke) said it worked for you, I tried a few more browsers to see if that's why we're getting different results. It looks like "+brow" (without the quotes) works on Mozilla but not on IE and Opera. Updating summary.
Summary: quicksearch: + prefix doesn't work → quicksearch: + prefix doesn't work in IE or opera
Annoying but true: some users may expect "+" to be treated as a modifier, not as a literal character, when inside "". Google treats the phrase (when enclosed in quotes) "art of peace" as if it were "art peace"; to actually match "art of peace", one must specify "art +of peace" to ensure that the stopword "of" isn't discarded. Not sure how applicable that is here, though. Perhaps the best approach is to document how '+"foo"' and '"+foo"' differ. Split off the documentation request into Bug 76392, "Review and update quicksearch documentation".
Searching for `book -mark' is also broken in IE and Opera (I get zero hits).
Summary: quicksearch: + prefix doesn't work in IE or opera → quicksearch: + and - prefixes doesn't work in IE or opera
Ok, now that I have access to IE5 I can confirm that this bug exists. Accepting.
Status: NEW → ASSIGNED
The attaches small fix seems to make both Netscape and IE happy. Targetting at 2.14 because QuickSearch doesn't work properly in IE without it.
Keywords: patch, review
Priority: -- → P1
Whiteboard: needed to make QuickSearch work in IE -- ready for checkin
Target Milestone: --- → Bugzilla 2.14
r= justdave checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
Whiteboard: needed to make QuickSearch work in IE -- ready for checkin → needed to make QuickSearch work in IE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: