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 `;