From b2fca461a591baa306fad877410fe367003fcb12 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 11 Jul 2011 17:49:59 +0200 Subject: [PATCH] bacula-web: Fixed small bug in sql query --- gui/bacula-web/jobs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' "; -- 2.39.5