fixed issue 1000, broken GAE belongs for field id, thanks Alan
This commit is contained in:
1 parent
33e6975ac4
commit
92557c8225
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.0.8 (2012-09-12 11:08:28) stable
|
||||
Version 2.0.8 (2012-09-12 11:10:55) stable
|
||||
+1
-1
@@ -4349,7 +4349,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
|
||||
if first.type != 'id':
|
||||
return [GAEF(first.name,'in',self.represent(second,first.type),lambda a,b:a in b)]
|
||||
else:
|
||||
second = [Key.from_path(first._tablename, i) for i in second]
|
||||
second = [Key.from_path(first._tablename, int(i)) for i in second]
|
||||
return [GAEF(first.name,'in',second,lambda a,b:a in b)]
|
||||
|
||||
def CONTAINS(self,first,second):
|
||||
|
||||
Reference in new issue
Block a user