mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 17:35:21 +00:00
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:
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,
|
||||
|
||||
Reference in new issue
Block a user