mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 10:00:33 +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 '''
|
||||
return self.user.readthrough_set.filter(
|
||||
finish_date__year__gte=self.year
|
||||
).order_by('finish_date').all()
|
||||
).order_by('-finish_date').all()
|
||||
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue