[freeside-commits] freeside/FS/FS cust_pkg.pm,1.141,1.142
Ivan,,,
ivan at wavetail.420.am
Thu Nov 12 23:12:38 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv12041
Modified Files:
cust_pkg.pm
Log Message:
fix advanced package report fallout from customer classes, RT#6677
Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- cust_pkg.pm 28 Oct 2009 06:13:24 -0000 1.141
+++ cust_pkg.pm 13 Nov 2009 07:12:35 -0000 1.142
@@ -2593,7 +2593,7 @@
my $addl_from = 'LEFT JOIN cust_main USING ( custnum ) '.
'LEFT JOIN part_pkg USING ( pkgpart ) '.
- 'LEFT JOIN pkg_class USING ( classnum ) ';
+ 'LEFT JOIN pkg_class ON ( part_pkg.classnum = pkg_class.classnum ) ';
my $count_query = "SELECT COUNT(*) FROM cust_pkg $addl_from $extra_sql";
More information about the freeside-commits
mailing list