mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-20 09:18:19 +00:00
Sort RSS Feed by Shelved date
This will make sure that users see books as they are shelved, which is what would be expected. Co-authored-by: Adeodato Simó <73768+dato@users.noreply.github.com>
This commit is contained in:
parent
7a25869e3f
commit
7b388ae972
|
@ -217,7 +217,7 @@ class RssShelfFeed(Feed):
|
|||
|
||||
def items(self, obj):
|
||||
"""the user's activity feed"""
|
||||
return obj.books.order_by("-published_date")[:10]
|
||||
return obj.books.order_by("-shelfbook__shelved_date")[:10]
|
||||
|
||||
def item_link(self, item):
|
||||
"""link to the status"""
|
||||
|
|
Loading…
Reference in a new issue