From: Davide Franco Date: Mon, 11 Jul 2011 15:49:59 +0000 (+0200) Subject: bacula-web: Fixed small bug in sql query X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2fca461a591baa306fad877410fe367003fcb12;p=bacula%2Fbacula bacula-web: Fixed small bug in sql query --- diff --git a/gui/bacula-web/jobs.php b/gui/bacula-web/jobs.php index 4e330f9c4f..3eeb9a575d 100644 --- a/gui/bacula-web/jobs.php +++ b/gui/bacula-web/jobs.php @@ -58,10 +58,10 @@ $query .= "WHERE Job.JobStatus IN ('F','S','M','m','s','j','c','d','t','p','C') "; break; case STATUS_COMPLETED: - $query .= "WHERE Job.JobStatus IN ('T', 'E') "; + $query .= "WHERE Job.JobStatus = 'T' "; break; case STATUS_FAILED: - $query .= "WHERE Job.JobStatus = 'f' "; + $query .= "WHERE Job.JobStatus = 'f', 'E' "; break; case STATUS_CANCELED: $query .= "WHERE Job.JobStatus = 'A' ";