[freeside-commits] branch master updated. 194d0e29f4587669032da09c3bf814c3531898a2

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


The branch, master has been updated
       via  194d0e29f4587669032da09c3bf814c3531898a2 (commit)
      from  194da40d2ffbaa8a2604c75a74b650a730c3a000 (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 194d0e29f4587669032da09c3bf814c3531898a2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Apr 11 18:05:07 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 d8f620f..9ec40cd 100644
--- a/FS/FS/cust_main/Search.pm
+++ b/FS/FS/cust_main/Search.pm
@@ -857,7 +857,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