Commit 06c3d2a4 authored by Mirko Vucicevich's avatar Mirko Vucicevich

Update views.py

parent 4f4ca4fc
......@@ -709,7 +709,7 @@ def manageSlides(request):
def listSlides(request, mode):
slides = Slide.objects.filter(owner=request.user).order_by('-edit_date').select_related('owner')
slides = item_permission_queryset(request.user, slides).distinct('id')
slides = item_permission_queryset(request.user, slides).distinct()
slideshow_ids = []
"""
# get list of corresponding slideshows per slide
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment