Merge pull request #70 from zebrapurring/negate-labels

Implement filter option for negated labels
This commit is contained in:
Katos
2024-06-30 16:02:04 +01:00
committed by GitHub
6 changed files with 32 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ func (ctrl *V1Controller) HandleItemsGetAll() errchain.HandlerFunc {
Search: params.Get("q"),
LocationIDs: queryUUIDList(params, "locations"),
LabelIDs: queryUUIDList(params, "labels"),
NegateLabels: queryBool(params.Get("negateLabels")),
ParentItemIDs: queryUUIDList(params, "parentIds"),
IncludeArchived: queryBool(params.Get("includeArchived")),
Fields: filterFieldItems(params["fields"]),