mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
9a10413dbc
Summary: Ref T8510. We had two issues with mixed-case result sorting, like typing `@joe` to match user `Joe`. - The fallback sort was not normalized properly, so "J" could sort after "j". Instead, normalize values for sorting. - The `prefix_hits` and older `priority_hits` mechanisms were competing destructively. The `prefix_hits` mechanism completely replaces the `priority_hits` mechanism. Instead, use only the `prefix_hits` mechanism. Test Plan: - Copied results for "joe" from WMF. - Hard-coded the controller to return them. - Searched for `@joe`. - After patches, first hit is user "Joe". Reviewers: chad Reviewed By: chad Maniphest Tasks: T8510 Differential Revision: https://secure.phabricator.com/D16826 |
||
---|---|---|
.. | ||
__tests__ | ||
control | ||
behavior.js | ||
Cookie.js | ||
DOM.js | ||
History.js | ||
JSON.js | ||
Leader.js | ||
Mask.js | ||
Quicksand.js | ||
Request.js | ||
Resource.js | ||
Routable.js | ||
Router.js | ||
Scrollbar.js | ||
Sound.js | ||
URI.js | ||
Vector.js | ||
WebSocket.js | ||
Workflow.js |