diff --git a/server/app.py b/server/app.py index 762e4df..0bd14d8 100644 --- a/server/app.py +++ b/server/app.py @@ -361,6 +361,11 @@ def list_collection(): return _list_collections_by_filter(lambda coll: coll.is_root_collection) +@flask_app.route("/collection/all") +def list_collection_all(): + return _list_collections_by_filter() + + @flask_app.route("/collection/extract") def extract_collection(): return render_template("collection_extract.htm") diff --git a/server/templates/macros.htm b/server/templates/macros.htm index 93a1525..212ada0 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -96,6 +96,7 @@ "Long Media": "/media/long", "Unsorted": "/media/unsorted", "Collections": "/collection", + "All Collections": "/collection/all", "📌 Collections"|safe: "/collection/pinned", "Collections To Watch": "/collection/to_watch", "Statistics": "/stats",