mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-19 05:26:31 +00:00
feat: include notes in search (#159)
This commit is contained in:
parent
1dc1ee54e2
commit
f149c3e4ab
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ func (e *ItemsRepository) QueryByGroup(ctx context.Context, gid uuid.UUID, q Ite
|
||||||
item.Or(
|
item.Or(
|
||||||
item.NameContainsFold(q.Search),
|
item.NameContainsFold(q.Search),
|
||||||
item.DescriptionContainsFold(q.Search),
|
item.DescriptionContainsFold(q.Search),
|
||||||
|
item.NotesContainsFold(q.Search),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue