X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2F477partIA_detail.html;h=2eca1072be6c8beb237b02341ba4dc0cb33b633f;hb=8dba5cb96454bf8ec81333ebac381180731396f1;hp=e4a59de5f7cfa71dbc2e48c1301ea0e74a6e6fad;hpb=b731fd6e97ffc88d9ab7826a1d0ae5ccf1ba3d6c;p=freeside.git diff --git a/httemplate/search/477partIA_detail.html b/httemplate/search/477partIA_detail.html index e4a59de5f..2eca1072b 100755 --- a/httemplate/search/477partIA_detail.html +++ b/httemplate/search/477partIA_detail.html @@ -23,10 +23,12 @@ die "access denied" my %opt = @_; my %search_hash = (); -for ( qw(agentnum magic classnum) ) { +for ( qw(agentnum magic) ) { $search_hash{$_} = $cgi->param($_) if $cgi->param($_); } +$search_hash{'classnum'} = [ $cgi->param('classnum') ]; + my @column_option = grep { /^\d+/ } $cgi->param('part1_column_option') if $cgi->param('part1_column_option'); @@ -94,7 +96,7 @@ my $value = sub { my $return = $count; if ($cgi->param('_type') eq 'xml') { - $rowchar++ if $column == 1; + $rowchar++ if $column == 0; $xml_element = $xml_prefix. chr($rowchar). ($column+1); $return = '' if $count == 0 and $cgi->param('_type') eq 'xml'; } else {