]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl display f and E state on error
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Sep 2006 20:29:50 +0000 (20:29 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Sep 2006 20:29:50 +0000 (20:29 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3503 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lib/Bweb.pm

index e12c165b719b8f177cfd1abdaa20ad34ec92c686..03c109b32c9e426081f8d6e9b747751cdbd7a1f4 100644 (file)
@@ -1781,7 +1781,11 @@ sub get_param
        my $status = CGI::param('status') || '';
        if ($status =~ /^(\w)$/) {
            $ret{status} = $1;
-           $limit .= "AND Job.JobStatus = '$1' ";
+           if ($1 eq 'f') {
+               $limit .= "AND Job.JobStatus IN ('f','E') ";            
+           } else {
+               $limit .= "AND Job.JobStatus = '$1' ";          
+           }
        }
     }