[freeside-commits] freeside/httemplate/search cust_pkg.cgi, 1.44, 1.45
Ivan,,,
ivan at wavetail.420.am
Mon Oct 29 05:04:54 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv26899
Modified Files:
cust_pkg.cgi
Log Message:
bug ya bug resulting from agent-virtualized packages
Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg.cgi,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- cust_pkg.cgi 26 Jun 2007 15:37:19 -0000 1.44
+++ cust_pkg.cgi 29 Oct 2007 12:04:52 -0000 1.45
@@ -127,7 +127,7 @@
if ( $cgi->param('agentnum') =~ /^(\d+)$/ and $1 ) {
push @where,
- "agentnum = $1";
+ "cust_main.agentnum = $1";
}
##
@@ -274,7 +274,7 @@
##
# here is the agent virtualization
-push @where, $FS::CurrentUser::CurrentUser->agentnums_sql;
+push @where, $FS::CurrentUser::CurrentUser->agentnums_sql('table'=>'cust_main');
my $extra_sql = scalar(@where) ? ' WHERE '. join(' AND ', @where) : '';
More information about the freeside-commits
mailing list