diff --git a/pb/__init__.py b/pb/__init__.py index fd821d4..57e7f54 100644 --- a/pb/__init__.py +++ b/pb/__init__.py @@ -184,7 +184,7 @@ def index(): @app.route('/user_studies/', methods=['GET']) def user_studies(uva_id): if uva_id == 'all': - return redirect(f"/") + return redirect(BASE_HREF + "/") studies = db.session.query(Study).filter(Study.NETBADGEID == uva_id).order_by(Study.DATE_MODIFIED.desc()).all() return render_study_template(studies) diff --git a/templates/index.html b/templates/index.html index 9abf26d..bde2bea 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,7 +18,7 @@

- {% if users %}