diff --git a/VERSION b/VERSION index f7da9d28..9c204297 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2013.12.09.17.05.33 +Version 2.8.2-stable+timestamp.2013.12.09.17.54.55 diff --git a/gluon/dal.py b/gluon/dal.py index df2c6425..bc1f4ab0 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -2984,8 +2984,9 @@ class PostgreSQLAdapter(BaseAdapter): """ http://postgis.org/docs/ST_Within.html """ - return 'ST_DWithin(%s,%s)' %(self.expand(first), self.expand(second, first.type), - self.expand(third, 'double')) + return 'ST_DWithin(%s,%s,%s)' %(self.expand(first), + self.expand(second, first.type), + self.expand(third, 'double')) def represent(self, obj, fieldtype): field_is_type = fieldtype.startswith