]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix group by function
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 10 Jul 2007 07:35:51 +0000 (07:35 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 10 Jul 2007 07:35:51 +0000 (07:35 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5140 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/cgi/bgraph.pl

index efc0199ee0cbea862302a7efad18cfa860c9c480..e3d0024d4442cf49e2e7cb95951c872dfab06d1e 100755 (executable)
@@ -462,6 +462,7 @@ $limitq
                                           limit => $arg->{limit},
                                           offset=> $arg->{offset},
                                           groupby => "A",
+                                          order => "A",
                                           );
     my @arg;                   # arg for plotting
 
@@ -506,6 +507,7 @@ $limit
                        );
 
     my $all = $dbh->selectall_arrayref($query) ;
+    print STDERR Data::Dumper::Dumper($all);
     my ($ret) = make_tab_sum($all);
 
     print $obj->plot([$ret->{date}, $ret->{nb}])->png;