From e9724760d90ed3e84e958de57c836bf67baead34 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 13 Jan 2011 20:11:29 +0000 Subject: [PATCH] cleanup --- pandora/itemlist/views.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandora/itemlist/views.py b/pandora/itemlist/views.py index 293dc4ca6..53c87b29b 100644 --- a/pandora/itemlist/views.py +++ b/pandora/itemlist/views.py @@ -86,9 +86,8 @@ def findLists(request): if is_section_request: qs = query['qs'] - if not is_featured: - if not request.user.is_anonymous(): - qs = qs.filter(position__in=models.Position.objects.filter(user=request.user)) + if not is_featured and not request.user.is_anonymous(): + qs = qs.filter(position__in=models.Position.objects.filter(user=request.user)) qs = qs.order_by('position__position') else: qs = _order_query(query['qs'], query['sort'])