mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-18 17:31:35 +00:00
Allow ordering of column Storage Locations in BOM fix-#1152
This commit is contained in:
parent
ebba9cfc51
commit
d9773becfd
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue