[autocomplete] when tags have the same number of uses, sort by name
This commit is contained in:
@@ -64,7 +64,7 @@ class AutoComplete extends Extension
|
|||||||
WHERE LOWER(tag) LIKE LOWER(:search)
|
WHERE LOWER(tag) LIKE LOWER(:search)
|
||||||
-- OR LOWER(tag) LIKE LOWER(:cat_search)
|
-- OR LOWER(tag) LIKE LOWER(:cat_search)
|
||||||
AND count > 0
|
AND count > 0
|
||||||
ORDER BY count DESC
|
ORDER BY count DESC, tag ASC
|
||||||
$limitSQL
|
$limitSQL
|
||||||
",
|
",
|
||||||
$SQLarr
|
$SQLarr
|
||||||
|
Reference in New Issue
Block a user