JOIN Status USING (JobStatus)
WHERE client_group_name IN ($arg->{jclient_groups})
$limit $filter2
-
+ AND JobStatus IN ('T', 'f', 'A', 'e', 'E')
GROUP BY Client.Name, date
) AS sub JOIN Status USING (severity)
ORDER BY name, date
UPDATE Status SET severity = 100 where JobStatus = 'f';
UPDATE Status SET severity = 90 where JobStatus = 'A';
UPDATE Status SET severity = 10 where JobStatus = 'T';
+UPDATE status SET severity = 20 where jobstatus = 'e';
+UPDATE status SET severity = 25 where jobstatus = 'E';
+
-- New tables for bresto (same as brestore)
UPDATE status SET severity = 100 where jobstatus = 'f';
UPDATE status SET severity = 90 where jobstatus = 'A';
UPDATE status SET severity = 10 where jobstatus = 'T';
+UPDATE status SET severity = 20 where jobstatus = 'e';
+UPDATE status SET severity = 25 where jobstatus = 'E';
-- New tables for bresto (same as brestore)