projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restore duplicate customer checking with 3.x locations, #16582
[freeside.git]
/
httemplate
/
misc
/
xmlhttp-cust_main-duplicates.html
diff --git
a/httemplate/misc/xmlhttp-cust_main-duplicates.html
b/httemplate/misc/xmlhttp-cust_main-duplicates.html
index
7ee00af
..
7cd4633
100644
(file)
--- 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 $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 = <<EOF;
var custnum_array = document.getElementsByName('dup_custnum');
my $set_to_customer = <<EOF;
var custnum_array = document.getElementsByName('dup_custnum');