mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-04 16:50:27 +00:00
use case insensitive sort
This commit is contained in:
parent
cbac17c059
commit
5f2000cd25
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ func (lr *LocationRepository) Tree(ctx context.Context, GID uuid.UUID, tq TreeQu
|
||||||
FROM location_tree
|
FROM location_tree
|
||||||
ORDER BY level,
|
ORDER BY level,
|
||||||
node_type DESC, -- sort locations before items
|
node_type DESC, -- sort locations before items
|
||||||
NAME;`
|
lower(NAME)`
|
||||||
|
|
||||||
if tq.WithItems {
|
if tq.WithItems {
|
||||||
itemQuery := `
|
itemQuery := `
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue