From: Eric Bollengier Date: Wed, 2 Jan 2008 14:19:28 +0000 (+0000) Subject: ebl Keep level param across overview pages X-Git-Tag: Release-3.0.0~2066 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=244446ab89d1ec8806580e23e5cbedefe06eeea8;p=bacula%2Fbacula ebl Keep level param across overview pages git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6178 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index fdee9cd06a..92520c0817 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -3608,7 +3608,7 @@ sub display_overview_zoom my ($self) = @_; $self->can_do('r_view_stat'); - my $arg = $self->get_form(qw/jclient_groups age since type/); + my $arg = $self->get_form(qw/jclient_groups age since type level/); if (!$arg->{jclient_groups}) { return $self->error("Can't get client_group selection"); @@ -3640,7 +3640,7 @@ FROM ( "; my $items = $self->make_overview_tab($q); $self->display({label => $label, - action => "job;since=$arg->{since};type=$arg->{type};age=$arg->{age};client=", + action => "job;since=$arg->{since};level=$arg->{level};type=$arg->{type};age=$arg->{age};client=", items => $items}, "overview.tpl"); } @@ -3649,7 +3649,7 @@ sub display_overview my ($self) = @_ ; $self->can_do('r_view_stat'); - my $arg = $self->get_form(qw/jclient_groups age since type/); + my $arg = $self->get_form(qw/jclient_groups age since type level/); my ($filter2, undef) = $self->get_param(qw/client_groups level jobtype/); my $filter3 = $self->get_client_group_filter(); my ($stime1, $stime2, $filter1, $label, $jobt) = $self->get_time_overview($arg); @@ -3674,7 +3674,7 @@ FROM ( "; my $items = $self->make_overview_tab($q); $self->display({label=>$label, - action => "overview_zoom;since=$arg->{since};type=$arg->{type};age=$arg->{age};client_group=", + action => "overview_zoom;since=$arg->{since};level=$arg->{level};type=$arg->{type};age=$arg->{age};client_group=", items => $items}, "overview.tpl"); } diff --git a/gui/bweb/technotes-2.3 b/gui/bweb/technotes-2.3 index 7bed6547e9..82112c056a 100644 --- a/gui/bweb/technotes-2.3 +++ b/gui/bweb/technotes-2.3 @@ -1,5 +1,6 @@ 02Jan08 ebl Fix a couple of bug in btime module +ebl Keep level param between overview pages 31Dec07 ebl Add new r_view_group role to view group content