summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2011-12-04 19:44:19 (GMT)
committerFrédéric Péters <fpeters@0d.be>2011-12-04 19:44:19 (GMT)
commit0ee4387f59c05042555c2edfed0411205f607a78 (patch)
treea775a44334e94355dbe424c31111fccac66fa585
parent615e913ef8ca3b2b947dbb680ef5e33b0f84c9aa (diff)
downloadtabellio.searchform-0ee4387f59c05042555c2edfed0411205f607a78.zip
tabellio.searchform-0ee4387f59c05042555c2edfed0411205f607a78.tar.gz
tabellio.searchform-0ee4387f59c05042555c2edfed0411205f607a78.tar.bz2
fix polgroup search criteria
-rw-r--r--tabellio/searchform/form.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabellio/searchform/form.py b/tabellio/searchform/form.py
index 5c751d4..c156efe 100644
--- a/tabellio/searchform/form.py
+++ b/tabellio/searchform/form.py
@@ -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'):