diff options
author | Frédéric Péters <fpeters@0d.be> | 2012-06-04 07:41:30 (GMT) |
---|---|---|
committer | Frédéric Péters <fpeters@0d.be> | 2012-06-04 07:41:30 (GMT) |
commit | bd907bde35d308a89951a903ccadf3b18cef9616 (patch) | |
tree | 0f96bd762dbac4572d5b4d944566aca82723ffa9 | |
parent | 7868deb46e98c18bbc7d3d3402d2becee4950fb2 (diff) | |
download | tabellio.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.py | 5 |
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': |