Fix "[Semantical Error] line 0, col 274 near 'storageLocations.name))': Error: 'storageLocations' is not defined." when trying to sort by column Storage Locations

This commit is contained in:
Marc Kreidler 2026-03-29 19:28:23 +02:00
parent d9773becfd
commit 2c607c7e26

View file

@ -231,6 +231,8 @@ class ProjectBomEntriesDataTable implements DataTableTypeInterface
->leftJoin('part.category', 'category')
->leftJoin('part.footprint', 'footprint')
->leftJoin('part.manufacturer', 'manufacturer')
->leftJoin('part.partLots', 'partLots')
->leftJoin('partLots.storage_location', 'storageLocations')
->where('bom_entry.project = :project')
->setParameter('project', $options['project'])
;