Fixed sorting direction
This commit is contained in:
parent
f0be84ccb2
commit
635ab20c3b
1 changed files with 1 additions and 1 deletions
|
@ -25,4 +25,4 @@ class RssInterface(DataSourceInterface):
|
||||||
return [post for post in self.loaded_posts if post_filter(post)]
|
return [post for post in self.loaded_posts if post_filter(post)]
|
||||||
|
|
||||||
def __sort_posts__(self):
|
def __sort_posts__(self):
|
||||||
self.loaded_posts.sort(key=lambda x : x.datetime)
|
self.loaded_posts.sort(key=lambda x : x.datetime, reverse=True)
|
Loading…
Reference in a new issue