From 3a015062ecf6a380b05ecf96a56b185b46e8f74c Mon Sep 17 00:00:00 2001 From: Joachim Date: Tue, 28 Dec 2021 10:49:09 +0100 Subject: [PATCH] Reverse sorting order --- bookwyrm/views/annual_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/annual_summary.py b/bookwyrm/views/annual_summary.py index 15de2812..07838d6e 100644 --- a/bookwyrm/views/annual_summary.py +++ b/bookwyrm/views/annual_summary.py @@ -46,7 +46,7 @@ class AnnualSummary(View): finish_date__year__gte=year, finish_date__year__lt=int(year) + 1, ) - .order_by("-finish_date") + .order_by("finish_date") .values_list("book__id", flat=True) )