diff --git a/pkg/models/task_collection_filter.go b/pkg/models/task_collection_filter.go index 3195fa4df..560094bf9 100644 --- a/pkg/models/task_collection_filter.go +++ b/pkg/models/task_collection_filter.go @@ -154,7 +154,7 @@ func getTaskFiltersFromFilterString(filter string) (filters []*taskFilter, err e filter = strings.ReplaceAll(filter, " in ", " ?= ") - // Replaces all occurences with in with a string so that it passes the filter + // Replaces all occurrences with in with a string so that it passes the filter pattern := `\?=\s+([^&|]+)` re := regexp.MustCompile(pattern)