From d808882aae4604ad5fbbd1bf167db2fe912ca382 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 3 Oct 2011 18:21:07 +0200 Subject: [PATCH] fix findUsers positions --- pandora/user/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/user/views.py b/pandora/user/views.py index 341a9b1c0..7f08f7a97 100644 --- a/pandora/user/views.py +++ b/pandora/user/views.py @@ -508,7 +508,7 @@ Positions if qs.count() > 0: response['data']['position'] = utils.get_positions(ids, [qs[0].itemId])[0] elif 'positions' in data: - ids = [i.get_id() for i in qs] + ids = [i.username for i in qs] response['data']['positions'] = utils.get_positions(ids, data['positions']) else: response['data']['items'] = qs.count()