2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +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:
Oliver
2025-03-31 19:45:59 +11:00
committed by GitHub
parent e30786b068
commit f7a4469590
8 changed files with 170 additions and 4 deletions

View File

@ -81,6 +81,8 @@ export default function InvenTreeTableHeader({
}
}
}
return filters;
}, [tableProps.params, tableState.filterSet, tableState.queryFilters]);
const exportModal = useDataExport({

View File

@ -269,7 +269,7 @@ export default function ParametricPartTable({
tableState={table}
columns={tableColumns}
props={{
enableDownload: false,
enableDownload: true,
tableFilters: tableFilters,
params: {
category: categoryId,