From cb7788c49653af1f9691b7b0785b6b5d1288c4b8 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 15 Mar 2010 09:42:41 +0100 Subject: [PATCH] bweb: fix fileindex for deleted items --- gui/bweb/cgi/bfileview.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5