don't need the showprogress get param any longer

This commit is contained in:
Mouse Reeve 2021-01-22 14:33:03 -08:00
parent 129ca0352f
commit 20758b662d

View file

@ -74,7 +74,8 @@ class Book(View):
for readthrough in readthroughs:
readthrough.progress_updates = \
readthrough.progressupdate_set.all().order_by('-updated_date')
readthrough.progressupdate_set.all() \
.order_by('-updated_date')
user_shelves = models.ShelfBook.objects.filter(
added_by=request.user, book=book
@ -98,7 +99,6 @@ class Book(View):
'user_shelves': user_shelves,
'other_edition_shelves': other_edition_shelves,
'readthroughs': readthroughs,
'show_progress': ('showprogress' in request.GET),
'path': '/book/%s' % book_id,
}
return TemplateResponse(request, 'book.html', data)