Change url parameter /tags?synonyms -> include_synonyms.

I keep forgetting that the url parameter name isn't the same as the
python variable name.
master
voussoir 2020-09-14 05:52:00 -07:00
parent 1f7ffbb283
commit b98ed27291
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def get_tags_html(specific_tag_name=None):
new_url = request.url.replace('/tag/' + specific_tag_name, '/tag/' + specific_tag.name)
return flask.redirect(new_url)
include_synonyms = request.args.get('synonyms')
include_synonyms = request.args.get('include_synonyms')
include_synonyms = include_synonyms is None or etiquette.helpers.truthystring(include_synonyms)
if specific_tag is None: