X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_main.html;h=66a3a982592f9c79f29d41f76ef4c30912a72790;hb=ecc15d03711690d2b2aeeda2bd8ff1119956c583;hp=af9e95998971777065f5e992b68a807475025ee1;hpb=06e353b743e7be88afa8fce50ea10f27ebb7adef;p=freeside.git diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index af9e95998..66a3a9825 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -41,8 +41,8 @@ my %search_hash = (); #scalars my @scalars = qw ( - agentnum status address zip paydate_year paydate_month invoice_terms - no_censustract with_geocode with_email no_POST + agentnum salesnum status address zip paydate_year paydate_month invoice_terms + no_censustract with_geocode with_email POST no_POST custbatch usernum cancelled_pkgs cust_fields flattened_pkgs @@ -51,7 +51,7 @@ my @scalars = qw ( for my $param ( @scalars ) { $search_hash{$param} = scalar( $cgi->param($param) ) - if $cgi->param($param); + if length($cgi->param($param)); } #lists