diff --git a/views.py b/views.py index cf0931e576e2d4868efb1e72294b683d06bb4718_dmlld3MucHk=..9fd50d80789695f743c46040c37db8f247dd75a1_dmlld3MucHk= 100644 --- a/views.py +++ b/views.py @@ -135,7 +135,7 @@ def call(self, **kwargs): # TODO if no ES configuration, redirect or display warning self.render_search_comp() - query_string = self._cw.form.get('search', '') + query_string = self._cw.form.get('q', self._cw.form.get('search', '')) self.w(u'<h1>%s</h1>' % self._cw._('Recherche')) response = self.do_search(query_string) if response.hits.total: