[freeside-commits] branch master updated. fa447cf8f835a3539c83b2be986b7617c0ab3592

Ivan ivan at 420.am
Sun Jan 18 14:50:22 PST 2015


The branch, master has been updated
       via  fa447cf8f835a3539c83b2be986b7617c0ab3592 (commit)
      from  c06ef78a4489576a58581a06d366a0d1f040d2e5 (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 fa447cf8f835a3539c83b2be986b7617c0ab3592
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Jan 18 14:50:20 2015 -0800

    fully-qualify

diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi
index d5fe52b..c0f84ec 100755
--- a/httemplate/search/cust_pay_batch.cgi
+++ b/httemplate/search/cust_pay_batch.cgi
@@ -72,7 +72,7 @@ if ( $cgi->param('batchnum') && $cgi->param('batchnum') =~ /^(\d+)$/ ) {
 }
 
 if ( $cgi->param('custnum') && $cgi->param('custnum') =~ /^(\d+)$/ ) {
-  push @search, "custnum = $1";
+  push @search, "cust_pay_batch.custnum = $1";
 }
 
 if ( $cgi->param('status') && $cgi->param('status') =~ /^(\w)$/ ) {
@@ -116,7 +116,6 @@ $sql_query = {
   'hashref'   => {},
   'addl_from' => 'LEFT JOIN pay_batch USING ( batchnum ) '.
                  'LEFT JOIN cust_main USING ( custnum ) '.
-                 
                  'LEFT JOIN cust_pay  USING ( batchnum, custnum ) ',
   'extra_sql' => $search,
   'order_by'  => "ORDER BY $orderby",

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

Summary of changes:
 httemplate/search/cust_pay_batch.cgi |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)




More information about the freeside-commits mailing list