Fix parsing array style comparators by query param

This commit is contained in:
kolaente 2020-05-09 15:08:58 +02:00
parent 7e1d0a81bf
commit 18f6e31b54
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -53,7 +53,7 @@ func getTaskFiltersByCollections(c *TaskCollection) (filters []*taskFilter, err
}
if len(c.FilterComparatorArr) > 0 {
c.FilterValue = append(c.FilterValue, c.FilterComparatorArr...)
c.FilterComparator = append(c.FilterComparator, c.FilterComparatorArr...)
}
filters = make([]*taskFilter, 0, len(c.FilterBy))