Closed Bug 1171826 Opened 9 years ago Closed 9 years ago

sort keywords by "starts with" then "substring"

Categories

(bugzilla.mozilla.org :: User Interface, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file)

the old keyword autocompletion widget searched for "keywords starting with", while the new one searches by substring.

this is a slight change to long established workflows and causes pain for high volume bug editors such as sheriffs.

we should sort keywords that match by "starts with" first, then by substring.

ie.

when searching for "int"..

we used to return:
> intermittent-failure
> int

we now return:
> calendar-integration
> csectype-intoverflow
> footprint
> imap-interop
> intermittent-failure
> int
> mail-integration
> ux-interruption

we should return:
> intermittent-failure
> int
> calendar-integration
> csectype-intoverflow
> footprint
> imap-interop
> mail-integration
> ux-interruption
Attached patch 1171826_1.patchSplinter Review
Attachment #8615833 - Flags: review?(dylan)
Comment on attachment 8615833 [details] [diff] [review]
1171826_1.patch

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

r=dylan
Attachment #8615833 - Flags: review?(dylan) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   6c5fcca..9eaa85e  master -> master
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Summary: sort keywords by "start with" then "substring" → sort keywords by "starts with" then "substring"
You need to log in before you can comment on or make changes to this bug.