fix limit by created
This commit is contained in:
parent
71fd1314cf
commit
2325c71c21
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ def parseCondition(condition, user):
|
||||||
v = decode_id(v)
|
v = decode_id(v)
|
||||||
if isinstance(v, bool): #featured and public flag
|
if isinstance(v, bool): #featured and public flag
|
||||||
key = k
|
key = k
|
||||||
elif k in ('id', ):
|
elif k in ('id', 'created'):
|
||||||
key = '%s%s' % (k, {
|
key = '%s%s' % (k, {
|
||||||
'>': '__gt',
|
'>': '__gt',
|
||||||
'>=': '__gte',
|
'>=': '__gte',
|
||||||
|
|
Loading…
Reference in a new issue