From 800471f24946c80c85c4a6c4a57fb0d0553639be Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Wed, 11 Mar 2026 12:19:52 -0700 Subject: [PATCH] KDS: show items with no station assignment in every station filter Items with NULL StationID now appear in all station views instead of being hidden when a specific station is selected. Co-Authored-By: Claude Opus 4.6 --- api/orders/listForKDS.cfm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/orders/listForKDS.cfm b/api/orders/listForKDS.cfm index b51bdb5..65daded 100644 --- a/api/orders/listForKDS.cfm +++ b/api/orders/listForKDS.cfm @@ -79,7 +79,7 @@ INNER JOIN OrderLineItems oli ON oli.OrderID = o.ID INNER JOIN Items i ON i.ID = oli.ItemID WHERE #whereSQL# - AND i.StationID = ? + AND (i.StationID = ? OR i.StationID IS NULL) AND oli.IsDeleted = b'0' ORDER BY SubmittedOn ASC, o.ID ASC ", stationParams, { datasource = "payfrit" })>