From bd907bde35d308a89951a903ccadf3b18cef9616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 4 Jun 2012 09:41:30 +0200 Subject: [PATCH] extend single number search to dossiers, and fix search keyword --- tabellio/searchform/simple.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tabellio/searchform/simple.py b/tabellio/searchform/simple.py index 540a618..49e58df 100644 --- a/tabellio/searchform/simple.py +++ b/tabellio/searchform/simple.py @@ -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':