[freeside-commits] branch FREESIDE_2_3_BRANCH updated. f4a34aeb6730e6a07ce1ca3562a1f2c704bb92bf

Ivan ivan at 420.am
Thu Apr 11 18:05:09 PDT 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  f4a34aeb6730e6a07ce1ca3562a1f2c704bb92bf (commit)
      from  2db41d569e9b1444ab41ce7ad5ee6b521b2e1231 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f4a34aeb6730e6a07ce1ca3562a1f2c704bb92bf
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Apr 11 18:05:08 2013 -0700

    fix "add package columns" in customer report, RT#22525

diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm
index fb516ee..9de542c 100644
--- a/FS/FS/cust_main/Search.pm
+++ b/FS/FS/cust_main/Search.pm
@@ -814,7 +814,8 @@ sub search {
   if ($params->{'flattened_pkgs'}) {
 
     #my $pkg_join = '';
-    $addl_from .= ' LEFT JOIN cust_pkg USING ( custnum ) ';
+    $addl_from .=
+      ' LEFT JOIN cust_pkg ON ( cust_main.custnum = cust_pkg.custnum ) ';
 
     if ($dbh->{Driver}->{Name} eq 'Pg') {
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/Search.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list