mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-04 03:54:53 +01:00
feat: filter items with parents on homepage (#127)
This commit is contained in:
@@ -112,6 +112,7 @@ func (r *LocationRepository) GetAll(ctx context.Context, groupId uuid.UUID) ([]L
|
||||
locations
|
||||
WHERE
|
||||
locations.group_locations = ?
|
||||
AND locations.location_children IS NULL
|
||||
ORDER BY
|
||||
locations.name ASC
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user