API Tree filters (#6536)

* PartCategoryList: Add FilterSet class

* Update PartCategory filters

- Migrate all custom filtering to the FilterSet

* Logic updates

* Revert deleted code

* Implement similar filters for StockLocation list API

* Update API docs

* Unit test updates

* More fix

* Fix for StockLocation filterclass

* Fix PUI tables

* Cleanup CUI tables

* Updated unit tests
This commit is contained in:
Oliver authored and GitHub committed 2024-02-21 23:34:20 +11:00
1 parent a310437dc7
commit 0bfbd45cec
10 files changed
+243 -222

No files matched your search

@@ -138,7 +138,7 @@ export function PartCategoryTable({ parentId }: { parentId?: any }) {
props={{
enableDownload: true,
params: {
parent: parentId ?? 'null'
parent: parentId
},
tableFilters: tableFilters,
tableActions: tableActions,
@@ -148,7 +148,7 @@ export function StockLocationTable({ parentId }: { parentId?: any }) {
props={{
enableDownload: true,
params: {
parent: parentId ?? 'null'
parent: parentId
},
tableFilters: tableFilters,
tableActions: tableActions,