projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ddbeb0
)
fix error: column reference "fieldname" is ambiguous
author
ivan
<ivan>
Mon, 23 Apr 2007 23:34:52 +0000
(23:34 +0000)
committer
ivan
<ivan>
Mon, 23 Apr 2007 23:34:52 +0000
(23:34 +0000)
httemplate/search/cust_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_pkg.cgi
b/httemplate/search/cust_pkg.cgi
index
84b083a
..
4fd5e9d
100755
(executable)
--- a/
httemplate/search/cust_pkg.cgi
+++ b/
httemplate/search/cust_pkg.cgi
@@
-225,11
+225,11
@@
foreach my $field (qw( setup last_bill bill susp expire cancel )) {
or $disable{$cgi->param('status')}->{$field};
push @where,
- "$field IS NOT NULL",
- "$field >= $beginning",
- "$field <= $ending";
+ "
cust_pkg.
$field IS NOT NULL",
+ "
cust_pkg.
$field >= $beginning",
+ "
cust_pkg.
$field <= $ending";
- $orderby ||= "ORDER BY $field";
+ $orderby ||= "ORDER BY
cust_pkg.
$field";
}