[freeside-commits] freeside/httemplate/misc xmlhttp-cust_main-search.cgi, 1.7, 1.8
Ivan,,,
ivan at wavetail.420.am
Fri Oct 22 11:03:50 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv4780/httemplate/misc
Modified Files:
xmlhttp-cust_main-search.cgi
Log Message:
add no_fuzzy_on_exact to RT customer search and our smart search boxes too, RT#10341
Index: xmlhttp-cust_main-search.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/xmlhttp-cust_main-search.cgi,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- xmlhttp-cust_main-search.cgi 23 Sep 2010 23:21:05 -0000 1.7
+++ xmlhttp-cust_main-search.cgi 22 Oct 2010 18:03:47 -0000 1.8
@@ -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) %>
More information about the freeside-commits
mailing list