From d588987c12df8d6604ad5c4ca9619301ca956fad Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 20 Jun 2011 19:21:21 +0200 Subject: [PATCH] findFile positions --- pandora/archive/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index cc0672a3..6a99b12d 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -451,7 +451,7 @@ Positions qs = _order_query(qs, query['sort']) 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']) elif 'keys' in query: