feat: add library route for viewing library items and reposition export route

This commit is contained in:
2026-05-19 21:51:00 +02:00
parent 541ca7172b
commit b3fc470c88
+1 -2
View File
@@ -2716,8 +2716,6 @@ def tutorial_page():
student_max_borrow_days=cfg.STUDENT_MAX_BORROW_DAYS student_max_borrow_days=cfg.STUDENT_MAX_BORROW_DAYS
) )
@app.route('/library')
@app.route('/library/export/<scope>') @app.route('/library/export/<scope>')
def library_export_excel(scope): def library_export_excel(scope):
if 'username' not in session: if 'username' not in session:
@@ -2760,6 +2758,7 @@ def library_export_excel(scope):
download_name=filename download_name=filename
) )
@app.route('/library')
def library_view(): def library_view():
""" """
Dedicated page for viewing library items (books, CDs, etc.). Dedicated page for viewing library items (books, CDs, etc.).