From d46ef922f3a6ddc36d5ddfcd94d424745f473a16 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Wed, 22 Oct 2025 07:15:25 -0500 Subject: [PATCH] fix(silos): added only active machines, and ordered by location in asending --- .../services/sqlServer/querys/silo/connectionCheck.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lstV2/server/services/sqlServer/querys/silo/connectionCheck.ts b/lstV2/server/services/sqlServer/querys/silo/connectionCheck.ts index 635719b..875119b 100644 --- a/lstV2/server/services/sqlServer/querys/silo/connectionCheck.ts +++ b/lstV2/server/services/sqlServer/querys/silo/connectionCheck.ts @@ -20,6 +20,9 @@ export const notconnectedToMachine = ` ) and name not like '%REWORK%' + and Active = 1 + + order by location `; export const connectedToMachine = ` @@ -39,4 +42,7 @@ left join on m.id = s.MachineId where [SiloHumanReadableId] = [siloID] + + +order by location `;