From 20758b662dbe42244656cd31c5bd145ce94176ad Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 22 Jan 2021 14:33:03 -0800 Subject: [PATCH] don't need the showprogress get param any longer --- bookwyrm/views/books.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/views/books.py b/bookwyrm/views/books.py index a6e2667f0..527045606 100644 --- a/bookwyrm/views/books.py +++ b/bookwyrm/views/books.py @@ -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)