From f76d59cb197fe35218d144df645468c66cca5865 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 24 Jul 2009 15:11:43 +0000 Subject: [PATCH] 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 --- gui/bweb/lib/Bweb.pm | 2 +- gui/bweb/technotes-3.0 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5