[freeside-commits] freeside/FS/FS part_pkg.pm,1.78,1.79
Ivan,,,
ivan at wavetail.420.am
Wed Sep 10 00:32:19 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv18300
Modified Files:
part_pkg.pm
Log Message:
well, allow things to work for now so work can get done
Index: part_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg.pm,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- part_pkg.pm 29 Aug 2008 00:45:31 -0000 1.78
+++ part_pkg.pm 10 Sep 2008 07:32:17 -0000 1.79
@@ -956,11 +956,11 @@
).
')';
# much more CCH oddness in m2m -- this is kludgy
+ my @tpnums = $self->_expand_cch_taxproductnum($class);
$extra_sql .= ' AND ('.
- join(' OR ', map{ "taxproductnum = $_" }
- $self->_expand_cch_taxproductnum($class)
- ).
- ')';
+ join(' OR ', map{ "taxproductnum = $_" } @tpnums ).
+ ')'
+ if @tpnums;
my $addl_from = 'LEFT JOIN part_pkg_taxproduct USING ( taxproductnum )';
my $order_by = 'ORDER BY taxclassnum, length(geocode) desc, length(taxproduct) desc';
More information about the freeside-commits
mailing list