Page MenuHomePhabricator

[Monolingual] Exact language code match should be first
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Edit a monolignual value.
  2. Search for "en".

Result: "en" is 4th in the list. "en-gb" and such are above.

Expected: Exact match should be at the top. Prefix matches should follow.


Version: master
Severity: minor
Whiteboard: u=dev c=frontend p=3 s=2014-08-26
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=67394

Details

Reference
bz67395