[freeside-commits] freeside/httemplate/search cust_pkg.cgi, 1.42, 1.43
Ivan,,,
ivan at wavetail.420.am
Mon Apr 23 16:34:56 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv24244
Modified Files:
cust_pkg.cgi
Log Message:
fix error: column reference "fieldname" is ambiguous
Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg.cgi,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- cust_pkg.cgi 14 Feb 2007 08:48:35 -0000 1.42
+++ cust_pkg.cgi 23 Apr 2007 23:34:52 -0000 1.43
@@ -225,11 +225,11 @@
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";
}
More information about the freeside-commits
mailing list