fix polgroup search criteria
This commit is contained in:
parent
615e913ef8
commit
0ee4387f59
|
@ -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'):
|
||||
|
|
Reference in New Issue