fix(silos): added only active machines, and ordered by location in asending

This commit is contained in:
2025-10-22 07:15:25 -05:00
parent 414a21a287
commit d46ef922f3

View File

@@ -20,6 +20,9 @@ export const notconnectedToMachine = `
) )
and name not like '%REWORK%' and name not like '%REWORK%'
and Active = 1
order by location
`; `;
export const connectedToMachine = ` export const connectedToMachine = `
@@ -39,4 +42,7 @@ left join
on m.id = s.MachineId on m.id = s.MachineId
where [SiloHumanReadableId] = [siloID] where [SiloHumanReadableId] = [siloID]
order by location
`; `;