summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-06-06 11:34:11 -0700
committerIvan Kohler <ivan@freeside.biz>2013-06-06 11:34:11 -0700
commitb6f044c11390e856caff9996e8c052e3086a482b (patch)
tree90a38dd5859bc15ea41c1a42af2c8d5667b56d67 /httemplate
parent8f90756a88b7326dc01bfc9b6d73958e65f84629 (diff)
parent3db6956f45d19e9f5d8704a2b3bd75bbd6f97947 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_bill_pkg.cgi2
-rw-r--r--httemplate/search/cust_main-zip.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index 3a3b0feb9..183051170 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -222,7 +222,7 @@ if ( $conf->exists('enable_taxclasses') ) {
# valid in both the tax and non-tax cases
my $join_cust =
- " LEFT JOIN cust_bill USING (invnum)".
+ " LEFT JOIN cust_bill ON (cust_bill_pkg.invnum = cust_bill.invnum)".
# use cust_pkg.locationnum if it exists
FS::UI::Web::join_cust_main('cust_bill', 'cust_pkg');
diff --git a/httemplate/search/cust_main-zip.html b/httemplate/search/cust_main-zip.html
index f5f8c8f3c..e22d3ea2e 100644
--- a/httemplate/search/cust_main-zip.html
+++ b/httemplate/search/cust_main-zip.html
@@ -4,7 +4,6 @@
'query' => $sql_query,
'count_query' => $count_sql,
'header' => [ 'Zip code', 'Customers', ],
- 'fields' => [ 0, 1 ],
'links' => [ '', $link ],
&>
<%init>