findFile positions
This commit is contained in:
parent
5a91786131
commit
29b1f5ddc3
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ Positions
|
||||||
qs = _order_query(qs, query['sort'])
|
qs = _order_query(qs, query['sort'])
|
||||||
|
|
||||||
response['data']['positions'] = {}
|
response['data']['positions'] = {}
|
||||||
ids = [j['itemId'] for j in qs.values('itemId')]
|
ids = [j['oshash'] for j in qs.values('oshash')]
|
||||||
response['data']['positions'] = utils.get_positions(ids, query['positions'])
|
response['data']['positions'] = utils.get_positions(ids, query['positions'])
|
||||||
|
|
||||||
elif 'keys' in query:
|
elif 'keys' in query:
|
||||||
|
|
Loading…
Reference in a new issue