Change readhtrough order

This commit is contained in:
Carlos Camara 2024-01-04 11:27:17 +01:00
parent 9acb5f66fe
commit 51cb70d344

View file

@ -73,7 +73,7 @@ class Export(View):
readthrough = (
models.ReadThrough.objects.filter(user=request.user, book=book)
.order_by("-finish_date")
.order_by("-start_date","-finish_date")
.first()
)
if readthrough: