X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Flog.html;h=9aa37365d98689c272a26cca499e46aab2e33837;hb=bec799dce8edac137ad9b124629132afa94ef07c;hp=d4fed54c9163cef7e96f32b5c46475ec6fd1617a;hpb=6acb603bb4422ca282b29e962291eb3d0d86d7bd;p=freeside.git diff --git a/httemplate/search/log.html b/httemplate/search/log.html index d4fed54c9..9aa37365d 100644 --- a/httemplate/search/log.html +++ b/httemplate/search/log.html @@ -64,14 +64,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, } &> @@ -79,17 +79,17 @@ a:visited {text-decoration: none} Level <& /elements/select.html, - field => 'min_level', - options => [ 0..7 ], - labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 }, - curr_value => $cgi->param('min_level'), + field => 'min_level', + options => [ 0..7 ], + labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 }, + curr_value => scalar($cgi->param('min_level')), &> to <& /elements/select.html, - field => 'max_level', - options => [ 0..7 ], - labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 }, - curr_value => $cgi->param('max_level'), + field => 'max_level', + options => [ 0..7 ], + labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 }, + curr_value => scalar($cgi->param('max_level')), &>