fix polgroup search criteria

This commit is contained in:
Frédéric Péters 2011-12-04 20:44:19 +01:00
parent 615e913ef8
commit 0ee4387f59
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ class SearchView(BrowserView):
kw['polgroupsDoc'] = {'query': data.get('polgroups').strip().split(),
'operator': 'and'}
if data.get('l_polgroups'):
kw['polgroupsDoc'] = {'query': [possible_polgroups(self.context).getTermByToken(x).title for x in data.get('l_polgroups')],
kw['polgroupsDoc'] = {'query': data.get('l_polgroups'),
'operator': 'and'}
if data.get('topics'):