[freeside-commits] branch FREESIDE_3_BRANCH updated. 70054fbcf1d7172deba9d5aca04beab37bbe53e6

Ivan ivan at 420.am
Wed Sep 23 10:50:29 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  70054fbcf1d7172deba9d5aca04beab37bbe53e6 (commit)
      from  8268e49167b44071b498339265b5f5761cdfeaeb (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 70054fbcf1d7172deba9d5aca04beab37bbe53e6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Sep 23 10:50:28 2015 -0700

    fix searches for cust_pay events, RT#35167

diff --git a/FS/FS/cust_event.pm b/FS/FS/cust_event.pm
index f881366..07a9701 100644
--- a/FS/FS/cust_event.pm
+++ b/FS/FS/cust_event.pm
@@ -310,7 +310,7 @@ sub join_sql {
        JOIN part_event USING ( eventpart )
   LEFT JOIN cust_bill ON ( eventtable = 'cust_bill' AND tablenum = invnum  )
   LEFT JOIN cust_pkg  ON ( eventtable = 'cust_pkg'  AND tablenum = pkgnum  )
-
+  LEFT JOIN cust_pay  ON ( eventtable = 'cust_pay'  AND tablenum = paynum  )
   LEFT JOIN cust_svc  ON ( eventtable = 'svc_acct'  AND tablenum = svcnum  )
   LEFT JOIN cust_pkg AS cust_pkg_for_svc ON ( cust_svc.pkgnum = cust_pkg_for_svc.pkgnum )
   LEFT JOIN cust_main ON (    ( eventtable = 'cust_main' AND tablenum = cust_main.custnum )

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

Summary of changes:
 FS/FS/cust_event.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list