fixed problem with dal expressions being parenthesized, thanks Daniel

This commit is contained in:
Massimo Di Pierro
2012-08-24 10:05:07 -05:00
parent 0e84b4b269
commit 001ca98855
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-24 09:53:17) dev
Version 2.00.0 (2012-08-24 10:04:14) dev
+1 -1
View File
@@ -1317,7 +1317,7 @@ class BaseAdapter(ConnectionPool):
tablename,fieldname = item.split('.')
new_fields.append(self.db[tablename][fieldname])
else:
new_fields.append(Expression(self.db,item))
new_fields.append(Expression(self.db,lambda:item))
else:
new_fields.append(item)
# ## if no fields specified take them all from the requested tables