From: Eric Bollengier Date: Mon, 15 Mar 2010 08:42:41 +0000 (+0100) Subject: bweb: fix fileindex for deleted items X-Git-Tag: Release-5.0.2~153 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cb7788c49653af1f9691b7b0785b6b5d1288c4b8;p=bacula%2Fbacula bweb: fix fileindex for deleted items --- diff --git a/gui/bweb/cgi/bfileview.pl b/gui/bweb/cgi/bfileview.pl index 08eec0b846..44269385aa 100755 --- a/gui/bweb/cgi/bfileview.pl +++ b/gui/bweb/cgi/bfileview.pl @@ -362,7 +362,7 @@ sub fv_get_files_size FROM File WHERE PathId = $rep AND JobId = $jobid - AND FileIndex >= 0 + AND FileIndex > 0 "); return $ret->{size}; @@ -380,7 +380,7 @@ sub fv_get_big_files FROM File WHERE PathId = $rep AND JobId = $jobid - AND FileIndex >= 0 + AND FileIndex > 0 ) AS S INNER JOIN Filename USING (FilenameId) WHERE S.size > $min ORDER BY S.size DESC