forked from mirrors/homebox
feat: filter items with parents on homepage (#127)
This commit is contained in:
parent
2fb5a437a2
commit
592d4eda55
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ func (r *LocationRepository) GetAll(ctx context.Context, groupId uuid.UUID) ([]L
|
||||||
locations
|
locations
|
||||||
WHERE
|
WHERE
|
||||||
locations.group_locations = ?
|
locations.group_locations = ?
|
||||||
|
AND locations.location_children IS NULL
|
||||||
ORDER BY
|
ORDER BY
|
||||||
locations.name ASC
|
locations.name ASC
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in a new issue