cleanup
This commit is contained in:
parent
d4141a1e00
commit
e9724760d9
1 changed files with 2 additions and 3 deletions
|
@ -86,8 +86,7 @@ def findLists(request):
|
|||
|
||||
if is_section_request:
|
||||
qs = query['qs']
|
||||
if not is_featured:
|
||||
if not request.user.is_anonymous():
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue