|
|
|
|
@ -400,6 +400,15 @@ class ExpoSearchView(ListView): |
|
|
|
|
form = self.search_form(self.request.GET) |
|
|
|
|
if form.is_valid(): |
|
|
|
|
form.data_with_parents = form.get_form_data() |
|
|
|
|
if form.cleaned_data.get('th'): |
|
|
|
|
context['themes'] = form.cleaned_data.get('th') |
|
|
|
|
if form.cleaned_data.get('tg'): |
|
|
|
|
context['tag'] = form.cleaned_data.get('tg') |
|
|
|
|
if form.cleaned_data.get('co'): |
|
|
|
|
context['country'] = form.cleaned_data.get('co') |
|
|
|
|
if form.cleaned_data.get('ci'): |
|
|
|
|
context['city'] = form.cleaned_data.get('ci') |
|
|
|
|
|
|
|
|
|
else: |
|
|
|
|
form = self.search_form() |
|
|
|
|
|
|
|
|
|
|