summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill_pkg.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-04-09 12:53:24 -0700
committerMark Wells <mark@freeside.biz>2014-04-09 12:53:24 -0700
commit84abddf4bf0bc90e4a8f6e8e546e3cf4ee2786a2 (patch)
treeaaa3aac9083d043ee37e866f45bfc6798bb6e30a /httemplate/search/cust_bill_pkg.cgi
parent9d745634f4d11c8a23117fb01d6e8aecdfd669ff (diff)
correctly alias itemdesc column, #28506
Diffstat (limited to 'httemplate/search/cust_bill_pkg.cgi')
-rw-r--r--httemplate/search/cust_bill_pkg.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index fe16f3aa5..b1086e3dc 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -326,7 +326,7 @@ push @select, "COALESCE($part_pkg.taxclass, part_fee.taxclass) AS taxclass"
# the non-tax case
if ( $cgi->param('nottax') ) {
- push @select, $itemdesc;
+ push @select, "($itemdesc) AS itemdesc";
push @where,
'(cust_bill_pkg.pkgnum > 0 OR cust_bill_pkg.feepart IS NOT NULL)';