gaekeyfilterpatch, thanks Howesc, issue 930

This commit is contained in:
mdipierro
2012-08-14 20:37:47 -05:00
parent f3d97a1107
commit 5145272415
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-14 20:36:02) dev
Version 2.00.0 (2012-08-14 20:37:43) dev
+1 -1
View File
@@ -4326,7 +4326,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
items = [i for i in items if filter.apply(
getattr(item,filter.name),filter.value)]
else:
if filter.name=='__key__':
if filter.name=='__key__' and filter.op != 'in':
items.order('__key__')
items = items.filter('%s %s' % (filter.name,filter.op),
filter.value)