From 84abddf4bf0bc90e4a8f6e8e546e3cf4ee2786a2 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 9 Apr 2014 12:53:24 -0700 Subject: [PATCH] correctly alias itemdesc column, #28506 --- httemplate/search/cust_bill_pkg.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)'; -- 2.11.0