tags: make sorting case-insensitive (fix #271)
parent
791355fb47
commit
474090017c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue