diff options
author | ivan <ivan> | 2010-10-22 18:03:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-10-22 18:03:47 +0000 |
commit | c22410950cebc97f35091753a6e84d577bc6c5f3 (patch) | |
tree | 82c1275837df16eae3f5003a12a018f19b1e2d7e /httemplate/misc | |
parent | 7cab86a7efe11b58590691d3b1d0b37b6a730c8e (diff) |
add no_fuzzy_on_exact to RT customer search and our smart search boxes too, RT#10341
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/xmlhttp-cust_main-search.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/xmlhttp-cust_main-search.cgi b/httemplate/misc/xmlhttp-cust_main-search.cgi index 615a4bb1e..481bea264 100644 --- 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'); -% 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) %> |