X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fsearch%2Flog.html;h=96a6f5b645e6797dc35d0da0399cd786d26066f5;hb=1fc8addc56f8daf12397da568eb1ac1b27fd3984;hp=f6ac9d9be9f46957f04ed61a340990975f75b148;hpb=36246368fb9b34b03c05572d212e2f48abbb63f2;p=freeside.git diff --git a/httemplate/search/log.html b/httemplate/search/log.html index f6ac9d9be..96a6f5b64 100644 --- a/httemplate/search/log.html +++ b/httemplate/search/log.html @@ -201,7 +201,7 @@ my %colors = ( my $color_sub = sub { $colors{ $_[0]->level }; }; -my @contexts = ('', sort FS::log_context->contexts); +my @contexts = ('', FS::log_context->contexts); <%init> my $curuser = $FS::CurrentUser::CurrentUser; @@ -216,7 +216,9 @@ $cgi->param('max_level', 5) unless defined($cgi->param('max_level')); my %search = (); $search{'date'} = [ FS::UI::Web::parse_beginning_ending($cgi) ]; -$search{'level'} = [ $cgi->param('min_level'), $cgi->param('max_level') ]; +$search{'level'} = [ scalar($cgi->param('min_level')), + scalar($cgi->param('max_level')) + ]; foreach my $param (qw(agentnum context context_height tablename tablenum custnum message)) { if ( $cgi->param($param) ) { $search{$param} = $cgi->param($param);