Commit a9fb785c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* remove thumbnail from search_columns because thumbnail is not searchable.

* enable thumbnail only for OOo portal types.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29152 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba556808
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
......@@ -53,6 +55,12 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -72,6 +80,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>listbox_thumbnail</string> </value>
......@@ -90,4 +102,20 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:cell.getPortalType() in (\'Drawing\', \'Spreadsheet\', \'PDF\', \'Presentation\', \'Text\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -13,15 +13,15 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>columns</string>
<string>all_columns</string>
<string>columns</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
<string>search_columns</string>
<string>sort_columns</string>
<string>selection_name</string>
<string>editable_columns</string>
<string>domain_tree</string>
<string>domain_root_list</string>
<string>sort_columns</string>
<string>title</string>
</list>
</value>
</item>
......@@ -392,10 +392,6 @@
<string>contributor_title</string>
<string>Contributors</string>
</tuple>
<tuple>
<string>thumbnail</string>
<string>Thumbnail</string>
</tuple>
<tuple>
<string>subject_title</string>
<string>Keywords</string>
......
1029
\ No newline at end of file
1030
\ 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