From 2c607c7e269b82527c5a5a62ae56d163034366e3 Mon Sep 17 00:00:00 2001 From: Marc Kreidler Date: Sun, 29 Mar 2026 19:28:23 +0200 Subject: [PATCH] Fix "[Semantical Error] line 0, col 274 near 'storageLocations.name))': Error: 'storageLocations' is not defined." when trying to sort by column Storage Locations --- src/DataTables/ProjectBomEntriesDataTable.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DataTables/ProjectBomEntriesDataTable.php b/src/DataTables/ProjectBomEntriesDataTable.php index ba83bcc2..4bf10855 100644 --- a/src/DataTables/ProjectBomEntriesDataTable.php +++ b/src/DataTables/ProjectBomEntriesDataTable.php @@ -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']) ;