[freeside-commits] freeside/FS/FS svc_broadband.pm, 1.22.2.2, 1.22.2.3 svc_acct.pm, 1.304.2.6, 1.304.2.7

Ivan,,, ivan at wavetail.420.am
Mon Oct 24 17:19:12 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv14543

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	svc_broadband.pm svc_acct.pm 
Log Message:
fix error on advanced broadband report when selecting a router, RT#14626

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.304.2.6
retrieving revision 1.304.2.7
diff -u -w -d -r1.304.2.6 -r1.304.2.7
--- svc_acct.pm	8 Apr 2011 04:59:01 -0000	1.304.2.6
+++ svc_acct.pm	25 Oct 2011 00:19:10 -0000	1.304.2.7
@@ -2908,7 +2908,7 @@
 
   #agentnum
   if ( $params->{'agentnum'} =~ /^(\d+)$/ and $1 ) {
-    push @where, "agentnum = $1";
+    push @where, "cust_main.agentnum = $1";
   }
 
   #custnum

Index: svc_broadband.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_broadband.pm,v
retrieving revision 1.22.2.2
retrieving revision 1.22.2.3
diff -u -w -d -r1.22.2.2 -r1.22.2.3
--- svc_broadband.pm	10 Jun 2011 05:16:56 -0000	1.22.2.2
+++ svc_broadband.pm	25 Oct 2011 00:19:10 -0000	1.22.2.3
@@ -168,7 +168,7 @@
   
   #agentnum
   if ( $params->{'agentnum'} =~ /^(\d+)$/ and $1 ) {
-    push @where, "agentnum = $1";
+    push @where, "cust_main.agentnum = $1";
   }
   push @where, $FS::CurrentUser::CurrentUser->agentnums_sql(
     'null_right' => 'View/link unlinked services',



More information about the freeside-commits mailing list