Commit c8b9b244abef9e79b01e9770b7ced19505f400a4

Authored by Sergio Oliveira
1 parent 53ec926b

Getting plain q from form

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
src/search/forms.py
... ... @@ -93,9 +93,7 @@ class ColabSearchForm(SearchForm):
93 93  
94 94  
95 95 if self.cleaned_data['q']:
96   - q = unicodedata.normalize(
97   - 'NFKD', unicode(self.cleaned_data.get('q'))
98   - ).encode('ascii', 'ignore')
  96 + q = self.cleaned_data.get('q')
99 97  
100 98 dismax_opts = {
101 99 'q.alt': '*.*',
... ...