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: freeside_1_9_1^2~312 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=2594c62a8915496a5dde2db46f2f3bcba3f86a43;p=freeside.git 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; }