[freeside-commits] branch FREESIDE_3_BRANCH updated. 6875df5e3719a807640402944abc7a8f9d04ae45
Ivan
ivan at 420.am
Wed Jan 4 15:57:48 PST 2017
The branch, FREESIDE_3_BRANCH has been updated
via 6875df5e3719a807640402944abc7a8f9d04ae45 (commit)
from 10565379f20ec07d1138b025dab5705da9c8165d (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 6875df5e3719a807640402944abc7a8f9d04ae45
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jan 4 15:57:47 2017 -0800
fix "column reference "refnum" is ambiguous" is credit detail report (when no advertising sources are configured yet), RT#73994
diff --git a/httemplate/search/cust_credit_bill.html b/httemplate/search/cust_credit_bill.html
index 88f897d..fb71061 100644
--- a/httemplate/search/cust_credit_bill.html
+++ b/httemplate/search/cust_credit_bill.html
@@ -79,14 +79,14 @@ my $title = 'Net Credit Search Results';
my @search = ();
if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {
- push @search, "agentnum = $1";
+ push @search, "cust_main.agentnum = $1";
my $agent = qsearchs('agent', { 'agentnum' => $1 } );
die "unknown agentnum $1" unless $agent;
$title = $agent->agent. " $title";
}
if ( $cgi->param('refnum') && $cgi->param('refnum') =~ /^(\d+)$/ ) {
- push @search, "refnum = $1";
+ push @search, "cust_main.refnum = $1";
my $part_referral = qsearchs('part_referral', { 'refnum' => $1 } );
die "unknown refnum $1" unless $part_referral;
$title = $part_referral->referral. " $title";
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/cust_credit_bill.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list