mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-14 11:15:46 +00:00
Show latest read books first in goals page
This commit is contained in:
parent
25643faf72
commit
69b38bfe91
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class AnnualGoal(BookWyrmModel):
|
||||||
''' the books you've read this year '''
|
''' the books you've read this year '''
|
||||||
return self.user.readthrough_set.filter(
|
return self.user.readthrough_set.filter(
|
||||||
finish_date__year__gte=self.year
|
finish_date__year__gte=self.year
|
||||||
).order_by('finish_date').all()
|
).order_by('-finish_date').all()
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue