improve speed in customer search, #13364
[freeside.git] / httemplate / search / 477partIIB.html
index 278dfdc..86f75f3 100755 (executable)
@@ -22,9 +22,10 @@ die "access denied"
 my $html_init = '<H2>Part IIB</H2>';
 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 @row_option = grep { /^\d+$/ } $cgi->param('part2b_row_option')
   if $cgi->param('part2b_row_option');
@@ -69,8 +70,8 @@ my $column_value = sub {
 
 my @headers = (
   '',
-  'with broadband',
   'without broadband',
+  'with broadband',
   'wholesale',
 );