From: Eric Bollengier Date: Fri, 24 Jul 2009 15:11:43 +0000 (+0000) Subject: Fix Expired option in media list to select Used media X-Git-Tag: Release-3.0.3~72 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f76d59cb197fe35218d144df645468c66cca5865;p=bacula%2Fbacula Fix Expired option in media list to select Used media git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9097 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 6c31a8ba60..c7f0b4d37f 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -2599,7 +2599,7 @@ sub display_media } if ($arg->{expired}) { $where = " - AND VolStatus = 'Full' + AND VolStatus = ('Full', 'Used') AND ( $self->{sql}->{UNIX_TIMESTAMP}(Media.LastWritten) + $self->{sql}->{TO_SEC}(Media.VolRetention) ) < NOW() " . $where ; diff --git a/gui/bweb/technotes-3.0 b/gui/bweb/technotes-3.0 index 6488330f42..1a1e11bc66 100644 --- a/gui/bweb/technotes-3.0 +++ b/gui/bweb/technotes-3.0 @@ -1,3 +1,5 @@ +24Jul09 +ebl Fix Expired option in media list to select Used media 23Jul09 ebl Permit to filter on the directory name as for file 17Jul09