Commit fa50ac5b authored by Fabien Morin's avatar Fabien Morin

add Organisation in searchable portal_type list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b8b33cd1
......@@ -65,7 +65,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>type_list = context.EGov_getAllowedFormTypeList() + (\'Person\',)\n
<value> <string>type_list = context.ERP5Site_getQuickSearchableTypeList()\n
item_list = [(x, x) for x in type_list]\n
\n
return item_list\n
......@@ -137,6 +137,12 @@ return item_list\n
<key> <string>id</string> </key>
<value> <string>ERP5Site_getQuickSearchableTypeItemList</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -65,7 +65,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>type_list = context.EGov_getAllowedFormTypeList() + (\'Person\',)\n
<value> <string>type_list = context.EGov_getAllowedFormTypeList() + (\'Person\', \'Organisation\')\n
return type_list\n
</string> </value>
</item>
......@@ -130,6 +130,12 @@ return type_list\n
<key> <string>id</string> </key>
<value> <string>ERP5Site_getQuickSearchableTypeList</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
269
\ No newline at end of file
270
\ No newline at end of file
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