projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add preference to enable fuzzy searching even on exact matches, RT#18962
[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
16f7cd2
..
acf7e70
100644
(file)
--- a/
httemplate/misc/xmlhttp-cust_main-search.cgi
+++ b/
httemplate/misc/xmlhttp-cust_main-search.cgi
@@
-10,7
+10,7
@@
%
% my $string = $cgi->param('arg');
% my @cust_main = smart_search( 'search' => $string,
%
% my $string = $cgi->param('arg');
% my @cust_main = smart_search( 'search' => $string,
-% 'no_fuzzy_on_exact' =>
1, #pref?
+% 'no_fuzzy_on_exact' =>
! $FS::CurrentUser::CurrentUser->option('enable_fuzzy_on_exact'),
% );
% my $return = [ map [ $_->custnum,
% $_->name,
% );
% my $return = [ map [ $_->custnum,
% $_->name,