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.
|
query := t.s.
|
||||||
|
Distinct("tasks.*").
|
||||||
In("id", taskIDs).
|
In("id", taskIDs).
|
||||||
OrderBy(orderby)
|
OrderBy(orderby)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user