Commit f76f41e9 authored by Bartek Górny's avatar Bartek Górny

find Conference and Project too

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10766 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26537386
...@@ -77,7 +77,7 @@ if kw.get(\'SearchableText\',\'\')==\'\' and mine==\'\':return []\n ...@@ -77,7 +77,7 @@ if kw.get(\'SearchableText\',\'\')==\'\' and mine==\'\':return []\n
args=context.parseSearchString(kw.get(\'SearchableText\',\'\'))\n args=context.parseSearchString(kw.get(\'SearchableText\',\'\'))\n
\n \n
if not args.has_key(\'portal_type\') or args[\'portal_type\']==():\n if not args.has_key(\'portal_type\') or args[\'portal_type\']==():\n
args[\'portal_type\']=context.getPortalDocumentTypeList()\n args[\'portal_type\']=context.getPortalDocumentTypeList()+(\'Conference\',\'Project\')\n
cats=[]\n cats=[]\n
bases=context.portal_categories.getBaseCategoryList()\n bases=context.portal_categories.getBaseCategoryList()\n
for k,v in args.items():\n for k,v in args.items():\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment