From 1d436c2e2391db4bd47771ed9a36fd9ce6804cda Mon Sep 17 00:00:00 2001 From: Eric O'Callaghan Date: Mon, 19 Dec 2022 19:45:20 -0500 Subject: [PATCH] fix help redirects --- help/help_page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/help/help_page.py b/help/help_page.py index 76bc616c..076cb12f 100644 --- a/help/help_page.py +++ b/help/help_page.py @@ -17,7 +17,7 @@ def index(): # Redirect form searches to /help/ if request.args.get('search'): return redirect( - url_for('help_page.single', topic=request.args.get('search')) + url_for('help.help_page.single', topic=request.args.get('search')) ) return render_template( @@ -52,7 +52,7 @@ def single(topic=None): if len(search_topics) == 1: found_topic = next(iter(search_topics.values())) return redirect( - url_for('help_page.single', topic=found_topic['name']) + url_for('help.help_page.single', topic=found_topic['name']) ) # Respond with a 200 showing any results,