1
0

fix(typesense): only return distinct tasks once

This commit is contained in:
kolaente
2024-06-04 18:21:36 +02:00
parent 5fc4ec48b7
commit b386dfae87

View File

@ -595,6 +595,7 @@ func (t *typesenseTaskSearcher) Search(opts *taskSearchOptions) (tasks []*Task,
}
query := t.s.
Distinct("tasks.*").
In("id", taskIDs).
OrderBy(orderby)