1
0

feat(tasks): make sorting and filtering work with Typesense

This commit is contained in:
kolaente
2023-08-28 19:10:18 +02:00
parent 09cfe41e4f
commit 2ca193e63b
3 changed files with 127 additions and 19 deletions

View File

@ -309,7 +309,7 @@ func getRawTasksForProjects(s *xorm.Session, projects []*Project, a web.Auth, op
}
tasks, totalItems, err = searcher.Search(opts)
return tasks, len(tasks), totalItems, nil
return tasks, len(tasks), totalItems, err
}
func getTasksForProjects(s *xorm.Session, projects []*Project, a web.Auth, opts *taskSearchOptions) (tasks []*Task, resultCount int, totalItems int64, err error) {