forked from 0x2620/pandora
disable debug
This commit is contained in:
parent
7fd0daf8d3
commit
b49a97209c
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ def parse_query(data, user):
|
||||||
for key in ('keys', 'group', 'file', 'range', 'position', 'positions', 'sort'):
|
for key in ('keys', 'group', 'file', 'range', 'position', 'positions', 'sort'):
|
||||||
if key in data:
|
if key in data:
|
||||||
query[key] = data[key]
|
query[key] = data[key]
|
||||||
print(query.get('sort'), data.get('sort'))
|
#print(query.get('sort'), data.get('sort'))
|
||||||
query['qs'] = models.Document.objects.find(data, user)
|
query['qs'] = models.Document.objects.find(data, user)
|
||||||
query['item'] = get_item(data.get('query', {}))
|
query['item'] = get_item(data.get('query', {}))
|
||||||
return query
|
return query
|
||||||
|
|
Loading…
Reference in a new issue