From: Ivan Kohler Date: Wed, 21 Apr 2021 18:30:53 +0000 (-0700) Subject: eliminate dups, RT#85671 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=61344de2708cefb228f6e8c03a25935e3dd497d3 eliminate dups, RT#85671 --- diff --git a/FS/FS/Report/FCC_477.pm b/FS/FS/Report/FCC_477.pm index bb01db4c8..760f6f22d 100644 --- a/FS/FS/Report/FCC_477.pm +++ b/FS/FS/Report/FCC_477.pm @@ -384,7 +384,7 @@ sub fbd_sql { my $order_by = 'censusblock, agentnum, technology, is_consumer, is_business'; - "SELECT ".join(', ', @select) . " + "SELECT DISTINCT ".join(', ', @select) . " FROM $from WHERE ".join(' AND ', @where)." ORDER BY $order_by