Implement filtering feature to negate selected labels

This commit is contained in:
zebrapurring
2024-06-28 16:45:43 +02:00
parent e929c38e37
commit e79905b608
4 changed files with 27 additions and 3 deletions

View File

@@ -57,6 +57,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"]),