tags: make sorting case-insensitive (fix #271)

cap
Varun Patil 2022-11-30 06:31:40 -08:00
parent 791355fb47
commit 474090017c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ trait TimelineQueryTags
// GROUP and ORDER by tag name
$query->groupBy('st.id');
$query->orderBy('st.name', 'ASC');
$query->orderBy($query->createFunction('LOWER(st.name)'), 'ASC');
$query->addOrderBy('st.id'); // tie-breaker
// FETCH all tags