also search in questions

This commit is contained in:
Frédéric Péters 2011-11-15 16:46:05 +01:00
parent a325f8877c
commit 7f482b6d2b
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ class SearchForm(form.Form):
if data.get('SearchableText') is None:
return []
return catalog(
portal_type=['tabellio.documents.dossier', 'tabellio.documents.document'],
portal_type=['tabellio.documents.dossier',
'tabellio.documents.document',
'tabellio.documents.question'],
SearchableText=data.get('SearchableText'))
def event_results(self):