From 026611164e5e3782d967aba7baf1689d8e8e469f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 18 Jan 2009 13:33:13 +0000 Subject: [PATCH] ebl cleanup set_limits git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8372 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/cgi/bresto.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/bweb/cgi/bresto.pl b/gui/bweb/cgi/bresto.pl index f736b8fb54..8f518e2224 100755 --- a/gui/bweb/cgi/bresto.pl +++ b/gui/bweb/cgi/bresto.pl @@ -120,7 +120,7 @@ sub get_pathid sub set_limits { - my ($self, $limit, $offset) = @_; + my ($self, $offset, $limit) = @_; $self->{limit} = $limit || 100; $self->{offset} = $offset || 0; } @@ -828,7 +828,7 @@ if (!scalar(@jobid) and $args->{qdate} and $args->{client}) { } $bvfs->set_curjobids(@jobid); print STDERR "limit=$args->{limit}:$args->{offset} date=$args->{qdate} currentjobids = ", join(",", @jobid), "\n"; -$bvfs->set_limits($args->{limit}, $args->{offset}); +$bvfs->set_limits($args->{offset}, $args->{limit}); if (!scalar(@jobid)) { exit 0; -- 2.39.5