app: List only root collections on collection/to_watch

master
Felix Stupp 2 years ago
parent 874532572b
commit 2aa23dec2e
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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
)

Loading…
Cancel
Save