[freeside-commits] freeside/FS/FS svc_broadband.pm, 1.24, 1.24.2.1 svc_acct.pm, 1.317, 1.317.2.1

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


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

Modified Files:
      Tag: FREESIDE_2_3_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.317
retrieving revision 1.317.2.1
diff -u -w -d -r1.317 -r1.317.2.1
--- svc_acct.pm	1 Jul 2011 06:54:02 -0000	1.317
+++ svc_acct.pm	25 Oct 2011 00:19:12 -0000	1.317.2.1
@@ -2933,7 +2933,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.24
retrieving revision 1.24.2.1
diff -u -w -d -r1.24 -r1.24.2.1
--- svc_broadband.pm	10 Jun 2011 05:16:54 -0000	1.24
+++ svc_broadband.pm	25 Oct 2011 00:19:12 -0000	1.24.2.1
@@ -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