fix(typesense): only return distinct tasks once
This commit is contained in:
parent
5fc4ec48b7
commit
b386dfae87
|
|
@ -595,6 +595,7 @@ func (t *typesenseTaskSearcher) Search(opts *taskSearchOptions) (tasks []*Task,
|
|||
}
|
||||
|
||||
query := t.s.
|
||||
Distinct("tasks.*").
|
||||
In("id", taskIDs).
|
||||
OrderBy(orderby)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue