From c45d54ede9b38cf046a3b9a1c6eb89b7b2d2c02e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 22 Jun 2008 18:44:53 +0000 Subject: [PATCH] ebl Update overview page git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7217 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lib/Bweb.pm | 2 +- gui/bweb/script/bweb-mysql.sql | 3 +++ gui/bweb/script/bweb-postgresql.sql | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index d13e162325..e99a3f710e 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -3750,7 +3750,7 @@ FROM ( 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 diff --git a/gui/bweb/script/bweb-mysql.sql b/gui/bweb/script/bweb-mysql.sql index 430b011f93..0fb5bb457e 100644 --- a/gui/bweb/script/bweb-mysql.sql +++ b/gui/bweb/script/bweb-mysql.sql @@ -7,6 +7,9 @@ UPDATE Status SET severity = 15; 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) diff --git a/gui/bweb/script/bweb-postgresql.sql b/gui/bweb/script/bweb-postgresql.sql index 0fed9269d2..d06820c342 100644 --- a/gui/bweb/script/bweb-postgresql.sql +++ b/gui/bweb/script/bweb-postgresql.sql @@ -7,6 +7,8 @@ UPDATE status SET severity = 15; 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) -- 2.39.5