fix limit by created

This commit is contained in:
j 2015-04-14 20:13:19 +01:00
parent 71fd1314cf
commit 2325c71c21

View file

@ -45,7 +45,7 @@ def parseCondition(condition, user):
v = decode_id(v)
if isinstance(v, bool): #featured and public flag
key = k
elif k in ('id', ):
elif k in ('id', 'created'):
key = '%s%s' % (k, {
'>': '__gt',
'>=': '__gte',