aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-04 22:18:14 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-04 22:18:14 +0100
commit0f713e5a5c7e61d32c67b55761df2a17e5204cfc (patch)
tree5c40eb9635787821f635c42cfa0274c3ee8df295
parentFixed some issues with the bookmark view. (diff)
downloadnewspipe-0f713e5a5c7e61d32c67b55761df2a17e5204cfc.tar.gz
newspipe-0f713e5a5c7e61d32c67b55761df2a17e5204cfc.tar.bz2
newspipe-0f713e5a5c7e61d32c67b55761df2a17e5204cfc.zip
Load only 1000 bookmarks when user is not authenticated.
-rw-r--r--newspipe/web/views/bookmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/web/views/bookmark.py b/newspipe/web/views/bookmark.py
index db15be42..2577f747 100644
--- a/newspipe/web/views/bookmark.py
+++ b/newspipe/web/views/bookmark.py
@@ -96,7 +96,7 @@ def list_(per_page, status="all"):
filters["shared"] = True
bookmarks = (
- BookmarkController(user_id).read(**filters).order_by(desc("time")).limit(100)
+ BookmarkController(user_id).read(**filters).order_by(desc("time")).limit(1000)
)
# tag_contr = BookmarkTagController(user_id)
bgstack15