From 5145272415ae207ecfcd86272efdd57c31f6917f Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 14 Aug 2012 20:37:47 -0500 Subject: [PATCH] gaekeyfilterpatch, thanks Howesc, issue 930 --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index bc8d849e..b640b2e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-14 20:36:02) dev +Version 2.00.0 (2012-08-14 20:37:43) dev diff --git a/gluon/dal.py b/gluon/dal.py index 2702fc7e..963fede0 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -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)