X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partIA_detail.html;h=666032d0c2c0220d2bd7d3219da3162224b8a449;hb=e55892bdf6dc95710a19876087690a9664421215;hp=6fea39109ca49b3561b4d042903cda57992e961e;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/search/477partIA_detail.html b/httemplate/search/477partIA_detail.html index 6fea39109..666032d0c 100755 --- a/httemplate/search/477partIA_detail.html +++ b/httemplate/search/477partIA_detail.html @@ -1,4 +1,4 @@ -<% include( 'elements/search.html', +<& elements/search.html, 'html_init' => $html_init, 'name' => 'lines', 'query' => $query, @@ -11,8 +11,8 @@ 'xml_elements' => [ @xml_elements ], 'xml_omit_empty' => 1, 'fields' => [ @fields ], - ) -%> + +&> <%init> my $curuser = $FS::CurrentUser::CurrentUser; @@ -23,9 +23,12 @@ die "access denied" my %opt = @_; my %search_hash = (); -for ( qw(agentnum magic classnum) ) { +for ( qw(agentnum magic state) ) { $search_hash{$_} = $cgi->param($_) if $cgi->param($_); } +$search_hash{'country'} = 'US'; + +$search_hash{'classnum'} = [ $cgi->param('classnum') ]; my @column_option = grep { /^\d+/ } $cgi->param('part1_column_option') if $cgi->param('part1_column_option');