Allow ordering of column Storage Locations in BOM fix-#1152

This commit is contained in:
Marc Kreidler 2026-03-29 18:14:06 +02:00
parent ebba9cfc51
commit d9773becfd

View file

@ -185,6 +185,7 @@ class ProjectBomEntriesDataTable implements DataTableTypeInterface
])
->add('storageLocations', TextColumn::class, [
'label' => 'part.table.storeLocations',
'orderField' => 'NATSORT(MIN(storageLocations.name))',
'visible' => false,
'render' => function ($value, ProjectBOMEntry $context) {
if ($context->getPart() !== null) {