cleanup
This commit is contained in:
parent
3a8f437f96
commit
85d74ca669
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