1
0

fix(typesense): do not try to sort by position when searching in a saved filter

This change fixes a bug where Typesense would try to sort by the project view of a saved filter. The view position is not indexed in Typesense, hence filtering fails. Because sorting by position is not a feature in saved filters, I've removed the logic for sorting saved filters with Typesense.
This commit is contained in:
kolaente
2024-06-05 10:24:28 +02:00
parent 506ce66434
commit e56b2232bb
3 changed files with 12 additions and 2 deletions

View File

@ -175,6 +175,7 @@ type taskSearchOptions struct {
filterIncludeNulls bool
filter string
filterTimezone string
isSavedFilter bool
projectIDs []int64
expand TaskCollectionExpandable
}