mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +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:
@ -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