summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2012-06-04 07:41:30 (GMT)
committerFrédéric Péters <fpeters@0d.be>2012-06-04 07:41:30 (GMT)
commitbd907bde35d308a89951a903ccadf3b18cef9616 (patch)
tree0f96bd762dbac4572d5b4d944566aca82723ffa9
parent7868deb46e98c18bbc7d3d3402d2becee4950fb2 (diff)
downloadtabellio.searchform-bd907bde35d308a89951a903ccadf3b18cef9616.zip
tabellio.searchform-bd907bde35d308a89951a903ccadf3b18cef9616.tar.gz
tabellio.searchform-bd907bde35d308a89951a903ccadf3b18cef9616.tar.bz2
extend single number search to dossiers, and fix search keyword
-rw-r--r--tabellio/searchform/simple.py5
1 files 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':