Reverse sorting order

This commit is contained in:
Joachim 2021-12-28 10:49:09 +01:00
parent 489c827673
commit 3a015062ec

View file

@ -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)
) )