From: ivan Date: Fri, 26 Jun 2009 18:53:46 +0000 (+0000) Subject: in smart_search, move duplicate elimination bits so that they're used even when doing... X-Git-Tag: root_of_svc_elec_features~1089 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2594c62a8915496a5dde2db46f2f3bcba3f86a43 in smart_search, move duplicate elimination bits so that they're used even when doing an exact search on a browser-remembered result --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index dd99edab3..3f23346db 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -8110,12 +8110,12 @@ sub smart_search { } - #eliminate duplicates - my %saw = (); - @cust_main = grep { !$saw{$_->custnum}++ } @cust_main; - } + #eliminate duplicates + my %saw = (); + @cust_main = grep { !$saw{$_->custnum}++ } @cust_main; + @cust_main; }