aboutsummaryrefslogtreecommitdiff
path: root/src/web/controllers/feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/controllers/feed.py')
-rw-r--r--src/web/controllers/feed.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/controllers/feed.py b/src/web/controllers/feed.py
index a3f5cae7..c67c6bea 100644
--- a/src/web/controllers/feed.py
+++ b/src/web/controllers/feed.py
@@ -70,6 +70,9 @@ class FeedController(AbstractController):
def count_by_category(self, **filters):
return self._count_by(Feed.category_id, filters)
+ def count_by_link(self, **filters):
+ return self._count_by(Feed.link, filters)
+
def _ensure_icon(self, attrs):
if not attrs.get('icon_url'):
return
bgstack15