fix(silos): added only active machines, and ordered by location in asending
This commit is contained in:
@@ -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
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user