mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 15:56:14 +00:00
Download params (#9413)
* Pass extra options through to data export plugins * Add PartParameterExporter plugin - Useful for including part parameter data in exporter * Fix bug in InvenTreeTableHeader * enable export for partparametertable * Simplify tests * Add typing hints
This commit is contained in:
1 parent
e30786b068
commit
f7a4469590
8 files changed
+170
-4
No files matched your search
@@ -81,6 +81,8 @@ export default function InvenTreeTableHeader({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return filters;
|
||||
}, [tableProps.params, tableState.filterSet, tableState.queryFilters]);
|
||||
|
||||
const exportModal = useDataExport({
|
||||
|
||||
@@ -269,7 +269,7 @@ export default function ParametricPartTable({
|
||||
tableState={table}
|
||||
columns={tableColumns}
|
||||
props={{
|
||||
enableDownload: false,
|
||||
enableDownload: true,
|
||||
tableFilters: tableFilters,
|
||||
params: {
|
||||
category: categoryId,
|
||||
|
||||
Reference in new issue
Block a user