From 29b1f5ddc36e2dbe78326d32b40d6c3744b3e249 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 cc0672a..6a99b12 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: