diff --git a/backend/internal/data/repo/repo_locations.go b/backend/internal/data/repo/repo_locations.go index a5ca126..4e72008 100644 --- a/backend/internal/data/repo/repo_locations.go +++ b/backend/internal/data/repo/repo_locations.go @@ -280,7 +280,7 @@ func (lr *LocationRepository) Tree(ctx context.Context, GID uuid.UUID, tq TreeQu FROM location_tree ORDER BY level, node_type DESC, -- sort locations before items - NAME;` + lower(NAME)` if tq.WithItems { itemQuery := `