extend single number search to dossiers, and fix search keyword

This commit is contained in:
Frédéric Péters 2012-06-04 09:41:30 +02:00
parent 7868deb46e
commit bd907bde35
1 changed files with 3 additions and 2 deletions

View File

@ -131,8 +131,9 @@ class SimpleSearchView(BrowserView):
SearchableText=search_query)
else:
c = catalog(
portal_type=['tabellio.documents.document'],
nodos=search_query)
portal_type=['tabellio.documents.document',
'tabellio.documents.dossier'],
no=search_query)
if sorton == 'session':
cmpf = cmpfunctions.Cmp().cmp_session
elif sorton == 'type':