|
|
@@ -8,6 +8,9 @@ search_form = SearchForm()
|
|
|
|
|
|
|
|
|
@register.inclusion_tag("search/searchbar.html")
|
|
|
-def search_options() -> Dict:
|
|
|
+def search_options(request) -> Dict:
|
|
|
"""Provide search options to template."""
|
|
|
- return {"options": search_form.options}
|
|
|
+ return {
|
|
|
+ 'options': search_form.options,
|
|
|
+ 'request': request,
|
|
|
+ }
|