diff --git a/pkg/models/task_search.go b/pkg/models/task_search.go index 7bbea8e17..b113c5891 100644 --- a/pkg/models/task_search.go +++ b/pkg/models/task_search.go @@ -595,6 +595,7 @@ func (t *typesenseTaskSearcher) Search(opts *taskSearchOptions) (tasks []*Task, } query := t.s. + Distinct("tasks.*"). In("id", taskIDs). OrderBy(orderby)