aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-11-11 22:09:58 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-11-11 22:09:58 +0100
commit3b88722597bb593eb8e842d8af855dff29738614 (patch)
tree1b6e217bb6d310bbd474badcf90187fe6a067a77
parentUpdated JS dependencies. (diff)
downloadnewspipe-3b88722597bb593eb8e842d8af855dff29738614.tar.gz
newspipe-3b88722597bb593eb8e842d8af855dff29738614.tar.bz2
newspipe-3b88722597bb593eb8e842d8af855dff29738614.zip
chg: [view] Articles are now ordered by date on the public users's stream page.
-rw-r--r--newspipe/web/views/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/web/views/user.py b/newspipe/web/views/user.py
index 23a662ac..a3e89cd3 100644
--- a/newspipe/web/views/user.py
+++ b/newspipe/web/views/user.py
@@ -73,7 +73,7 @@ def user_stream(per_page, nickname=None):
filters["feed_id__in"] = [feed.id for feed in feeds]
if category:
filters["category_id"] = category_id
- articles = ArticleController(user.id).read(**filters)
+ articles = ArticleController(user.id).read_ordered(**filters)
# Server-side pagination
page, per_page, offset = get_page_args(per_page_parameter="per_page")
bgstack15