X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Flog.html;h=9be0b7d0a542343d437613ad125097b008c2cde2;hp=5b330f899c060b396b94d1cd2ea04c5d8aac23fc;hb=7b0bbc4117a7959b9f7b7b2cf999b8188ba34160;hpb=cf54023e010df76e0c39ac70902877d7c4c94c6e diff --git a/httemplate/search/log.html b/httemplate/search/log.html index 5b330f899..9be0b7d0a 100644 --- a/httemplate/search/log.html +++ b/httemplate/search/log.html @@ -65,14 +65,14 @@ a:visited {text-decoration: none} From <& /elements/input-date-field.html, { - name => 'beginning', - value => $cgi->param('beginning'), + name => 'beginning', + value => scalar($cgi->param('beginning')), } &> To <& /elements/input-date-field.html, { - name => 'ending', - value => $cgi->param('ending') || '', + name => 'ending', + value => scalar($cgi->param('ending')) || '', noinit => 1, } &> @@ -80,17 +80,17 @@ a:visited {text-decoration: none} Level <& /elements/select.html, - field => 'min_level', - options => [ &FS::Log::levelnums ], - labels => { &FS::Log::levelmap }, - curr_value => $cgi->param('min_level'), + field => 'min_level', + options => [ &FS::Log::levelnums ], + labels => { &FS::Log::levelmap }, + curr_value => scalar($cgi->param('min_level')), &> to <& /elements/select.html, - field => 'max_level', - options => [ &FS::Log::levelnums ], - labels => { &FS::Log::levelmap }, - curr_value => $cgi->param('max_level'), + field => 'max_level', + options => [ &FS::Log::levelnums ], + labels => { &FS::Log::levelmap }, + curr_value => scalar($cgi->param('max_level')), &> @@ -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;