From: ivan Date: Fri, 26 Jun 2009 18:53:52 +0000 (+0000) Subject: in smart_search, move duplicate elimination bits so that they're used even when doing... X-Git-Tag: freeside_1_7_4rc1~18 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=1ef9bd61065ffb8e0b87caec9afa2e69a8bf3391;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 a1130f44d..968b767a5 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5566,12 +5566,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; }