forked from 0x2620/pandora
fold events
This commit is contained in:
parent
2c6308cf87
commit
218c98fc7a
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ Positions
|
||||||
|
|
||||||
data = json.loads(request.POST['data'])
|
data = json.loads(request.POST['data'])
|
||||||
query = parse_query(data, request.user)
|
query = parse_query(data, request.user)
|
||||||
qs = query['qs']
|
qs = query['qs'].distinct()
|
||||||
if 'keys' in data:
|
if 'keys' in data:
|
||||||
qs = qs[query['range'][0]:query['range'][1]]
|
qs = qs[query['range'][0]:query['range'][1]]
|
||||||
response['data']['items'] = [p.json(request.user) for p in qs]
|
response['data']['items'] = [p.json(request.user) for p in qs]
|
||||||
|
|
Loading…
Reference in a new issue