diff --git a/pandora/place/views.py b/pandora/place/views.py index b78cbeed..71ef3e0a 100644 --- a/pandora/place/views.py +++ b/pandora/place/views.py @@ -225,6 +225,7 @@ Positions query = parse_query(data, request.user) qs = order_query(query['qs'], query['sort']) + qs = qs.distinct() if 'keys' in data: qs = qs[query['range'][0]:query['range'][1]] response['data']['items'] = [p.json(data['keys'], request.user) for p in qs]