[autocomplete] when tags have the same number of uses, sort by name
This commit is contained in:
parent
d82df9d7d8
commit
65d858c1ca
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class AutoComplete extends Extension
|
|||
WHERE LOWER(tag) LIKE LOWER(:search)
|
||||
-- OR LOWER(tag) LIKE LOWER(:cat_search)
|
||||
AND count > 0
|
||||
ORDER BY count DESC
|
||||
ORDER BY count DESC, tag ASC
|
||||
$limitSQL
|
||||
",
|
||||
$SQLarr
|
||||
|
|
Reference in a new issue