From: ivan Date: Wed, 5 Jul 2006 14:56:27 +0000 (+0000) Subject: patch to fix fuzzy searching from Ryan Gunn X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=6636759852fe0b38faff7e64d19323cbaf787d5e;p=freeside.git patch to fix fuzzy searching from Ryan Gunn --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index a265e4177..07b08919d 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -3746,13 +3746,13 @@ sub smart_search { #substring push @cust_main, qsearch( 'cust_main', { 'last' => { 'op' => 'ILIKE', - 'value' => "%$q_value%" }, + 'value' => "%$value%" }, %options, } ); push @cust_main, qsearch( 'cust_main', { 'ship_last' => { 'op' => 'ILIKE', - 'value' => "%$q_value%" }, + 'value' => "%$value%" }, %options, } @@ -3761,13 +3761,13 @@ sub smart_search { push @cust_main, qsearch( 'cust_main', { 'company' => { 'op' => 'ILIKE', - 'value' => "%$q_value%" }, + 'value' => "%$value%" }, %options, } ); push @cust_main, qsearch( 'cust_main', { 'ship_company' => { 'op' => 'ILIKE', - 'value' => "%$q_value%" }, + 'value' => "%$value%" }, %options, } )