From 2aa23dec2e49315b07429866d8026387cdb68f69 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 28 Aug 2022 12:29:15 +0200 Subject: [PATCH] app: List only root collections on collection/to_watch --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 5d2b41d..762e4df 100644 --- a/server/app.py +++ b/server/app.py @@ -368,7 +368,7 @@ def extract_collection(): @flask_app.route("/collection/to_watch") def list_collections_with_unwatched(): return _list_collections_by_filter( - lambda coll: not coll.ignored and not coll.completed + lambda coll: coll.is_root_collection and not coll.ignored and not coll.completed )