forked from mirrors/bookwyrm
Corrects documentation on sort order
This commit is contained in:
parent
2640c26bb1
commit
9f6918767b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class ListsStream(RedisStore):
|
||||||
return f"{user.id}-lists"
|
return f"{user.id}-lists"
|
||||||
|
|
||||||
def get_rank(self, obj): # pylint: disable=no-self-use
|
def get_rank(self, obj): # pylint: disable=no-self-use
|
||||||
"""lists are sorted by date published"""
|
"""lists are sorted by updated date"""
|
||||||
return obj.updated_date.timestamp()
|
return obj.updated_date.timestamp()
|
||||||
|
|
||||||
def add_list(self, book_list):
|
def add_list(self, book_list):
|
||||||
|
|
Loading…
Reference in a new issue