mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-12 19:26:37 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
17294abc13
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Author(View):
|
||||||
.filter(default_id=F("id"))
|
.filter(default_id=F("id"))
|
||||||
.order_by("-first_published_date", "-published_date", "-created_date")
|
.order_by("-first_published_date", "-published_date", "-created_date")
|
||||||
.prefetch_related("authors")
|
.prefetch_related("authors")
|
||||||
)
|
).distinct()
|
||||||
|
|
||||||
paginated = Paginator(books, PAGE_LENGTH)
|
paginated = Paginator(books, PAGE_LENGTH)
|
||||||
page = paginated.get_page(request.GET.get("page"))
|
page = paginated.get_page(request.GET.get("page"))
|
||||||
|
|
Loading…
Reference in a new issue