Add listing for all collections

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

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

@ -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",

Loading…
Cancel
Save