mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 09:00:33 +00:00
Merge pull request #1320 from bookwyrm-social/books-warning
Resolves warning in books view
This commit is contained in:
commit
accfbbfd90
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class Book(View):
|
|||
queryset = queryset.filter(user=request.user, deleted=False)
|
||||
else:
|
||||
queryset = reviews.exclude(Q(content__isnull=True) | Q(content=""))
|
||||
queryset = queryset.select_related("user")
|
||||
queryset = queryset.select_related("user").order_by("-published_date")
|
||||
paginated = Paginator(queryset, PAGE_LENGTH)
|
||||
|
||||
lists = privacy_filter(
|
||||
|
|
Loading…
Reference in a new issue