aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-24 13:30:11 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-24 13:30:11 +0200
commit106d83ea8157c6f14a399716381ddf07ac21a024 (patch)
treefab0f6c0fa0dd449b52242377da17c97e0bb8168 /src/web/views/views.py
parentUpdated deprecated code. (diff)
downloadnewspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.gz
newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.bz2
newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.zip
add the possibility to mak a feed as private
Diffstat (limited to 'src/web/views/views.py')
-rw-r--r--src/web/views/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index 8703edba..8024b27d 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -64,6 +64,7 @@ def popular():
filters = {}
filters['created_date__gt'] = not_added_before
+ filters['private__eq'] = False
feeds = FeedController().count_by_link(**filters)
sorted_feeds = sorted(list(feeds.items()), key=operator.itemgetter(1),
reverse=True)
bgstack15