Change url parameter /tags?synonyms -> include_synonyms.
I keep forgetting that the url parameter name isn't the same as the python variable name.
This commit is contained in:
		
							parent
							
								
									1f7ffbb283
								
							
						
					
					
						commit
						b98ed27291
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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) |             new_url = request.url.replace('/tag/' + specific_tag_name, '/tag/' + specific_tag.name) | ||||||
|             return flask.redirect(new_url) |             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) |     include_synonyms = include_synonyms is None or etiquette.helpers.truthystring(include_synonyms) | ||||||
| 
 | 
 | ||||||
|     if specific_tag is None: |     if specific_tag is None: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue