projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spacing
[freeside.git]
/
httemplate
/
misc
/
xmlhttp-cust_main-search.cgi
diff --git
a/httemplate/misc/xmlhttp-cust_main-search.cgi
b/httemplate/misc/xmlhttp-cust_main-search.cgi
index
615a4bb
..
481bea2
100644
(file)
--- a/
httemplate/misc/xmlhttp-cust_main-search.cgi
+++ b/
httemplate/misc/xmlhttp-cust_main-search.cgi
@@
-22,7
+22,9
@@
% } elsif ( $sub eq 'smart_search' ) {
%
% my $string = $cgi->param('arg');
% } elsif ( $sub eq 'smart_search' ) {
%
% my $string = $cgi->param('arg');
-% my @cust_main = smart_search( 'search' => $string );
+% my @cust_main = smart_search( 'search' => $string,
+% 'no_fuzzy_on_exact' => 1, #pref?
+% );
% my $return = [ map [ $_->custnum, $_->name ], @cust_main ];
%
<% objToJson($return) %>
% my $return = [ map [ $_->custnum, $_->name ], @cust_main ];
%
<% objToJson($return) %>