diff --git a/app.py b/app.py index 01b2539..e05f3f3 100644 --- a/app.py +++ b/app.py @@ -2130,7 +2130,7 @@ def crop_receipt_user(): @login_required @admin_required def admin_panel(): - month_str = request.args.get("month") + month_str = request.args.get("m") if not month_str: month_str = datetime.now(timezone.utc).strftime("%Y-%m") show_all = (month_str == "all") diff --git a/templates/admin/admin_panel.html b/templates/admin/admin_panel.html index 949b8aa..eb7f3fa 100644 --- a/templates/admin/admin_panel.html +++ b/templates/admin/admin_panel.html @@ -161,10 +161,16 @@ -