mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 01:20:35 +00:00
Reverse sorting order
This commit is contained in:
parent
489c827673
commit
3a015062ec
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class AnnualSummary(View):
|
||||||
finish_date__year__gte=year,
|
finish_date__year__gte=year,
|
||||||
finish_date__year__lt=int(year) + 1,
|
finish_date__year__lt=int(year) + 1,
|
||||||
)
|
)
|
||||||
.order_by("-finish_date")
|
.order_by("finish_date")
|
||||||
.values_list("book__id", flat=True)
|
.values_list("book__id", flat=True)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue