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 @@ ...@@ -12,7 +12,9 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list/> <list>
<string>enabled</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -53,6 +55,12 @@ ...@@ -53,6 +55,12 @@
<key> <string>tales</string> </key> <key> <string>tales</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -72,6 +80,10 @@ ...@@ -72,6 +80,10 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>listbox_thumbnail</string> </value> <value> <string>listbox_thumbnail</string> </value>
...@@ -90,4 +102,20 @@ ...@@ -90,4 +102,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -13,15 +13,15 @@ ...@@ -13,15 +13,15 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>columns</string>
<string>all_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>search_columns</string>
<string>sort_columns</string>
<string>selection_name</string> <string>selection_name</string>
<string>editable_columns</string> <string>sort_columns</string>
<string>domain_tree</string> <string>title</string>
<string>domain_root_list</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -392,10 +392,6 @@ ...@@ -392,10 +392,6 @@
<string>contributor_title</string> <string>contributor_title</string>
<string>Contributors</string> <string>Contributors</string>
</tuple> </tuple>
<tuple>
<string>thumbnail</string>
<string>Thumbnail</string>
</tuple>
<tuple> <tuple>
<string>subject_title</string> <string>subject_title</string>
<string>Keywords</string> <string>Keywords</string>
......
1029 1030
\ No newline at end of file \ 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