mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-19 01:41:37 +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, [
|
->add('storageLocations', TextColumn::class, [
|
||||||
'label' => 'part.table.storeLocations',
|
'label' => 'part.table.storeLocations',
|
||||||
|
'orderField' => 'NATSORT(MIN(storageLocations.name))',
|
||||||
'visible' => false,
|
'visible' => false,
|
||||||
'render' => function ($value, ProjectBOMEntry $context) {
|
'render' => function ($value, ProjectBOMEntry $context) {
|
||||||
if ($context->getPart() !== null) {
|
if ($context->getPart() !== null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue