X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fxmlhttp-cust_main-duplicates.html;fp=httemplate%2Fmisc%2Fxmlhttp-cust_main-duplicates.html;h=7cd463371e0a97cd7a4da7fc9488641ca1a7253d;hb=913b38d717fc7f2fae32722e9f30462fc9344fb3;hp=7ee00af66b063dea4c14cc6cd26c6b0e6dc34ff1;hpb=9f26e78e38c70af6d2de28808c119b0e2251fd41;p=freeside.git diff --git a/httemplate/misc/xmlhttp-cust_main-duplicates.html b/httemplate/misc/xmlhttp-cust_main-duplicates.html index 7ee00af66..7cd463371 100644 --- a/httemplate/misc/xmlhttp-cust_main-duplicates.html +++ b/httemplate/misc/xmlhttp-cust_main-duplicates.html @@ -50,7 +50,9 @@ my $conf = new FS::Conf; my $sub = $cgi->param('sub'); my $hashref = decode_json($cgi->param('arg')); -my @cust_main = qsearch('cust_main', $hashref); +my $search = FS::cust_main->search($hashref); +#warn Dumper($search); +my @cust_main = qsearch( $search ); my $set_to_customer = <