forked from mirrors/homebox
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.NameContainsFold(q.Search),
|
||||
item.DescriptionContainsFold(q.Search),
|
||||
item.NotesContainsFold(q.Search),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue