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 /rt/share/html/Elements | |
parent | 7cab86a7efe11b58590691d3b1d0b37b6a730c8e (diff) |
add no_fuzzy_on_exact to RT customer search and our smart search boxes too, RT#10341
Diffstat (limited to 'rt/share/html/Elements')
-rw-r--r-- | rt/share/html/Elements/AddCustomers | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rt/share/html/Elements/AddCustomers b/rt/share/html/Elements/AddCustomers index aaf8ca8ba..9828d7d53 100644 --- a/rt/share/html/Elements/AddCustomers +++ b/rt/share/html/Elements/AddCustomers @@ -39,7 +39,10 @@ warn "/Elements/AddCustomers called with CustomerString $CustomerString\n" my @Customers = (); if ( $CustomerString ) { - @Customers = &RT::URI::freeside::smart_search( 'search' => $CustomerString ); + @Customers = &RT::URI::freeside::smart_search( + 'search' => $CustomerString, + 'no_fuzzy_on_exact' => 1, #pref? + ); } my @Services = (); |