Commit 670c70df authored by Bartek Górny's avatar Bartek Górny

fixed preference name (preferred_dms_base_category_list)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10296 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5877f83e
...@@ -79,6 +79,7 @@ for base_category in item_list:\n ...@@ -79,6 +79,7 @@ for base_category in item_list:\n
sub_field_property_dict=default_sub_field_property_dict.copy()\n sub_field_property_dict=default_sub_field_property_dict.copy()\n
sub_field_property_dict[\'key\']=base_category\n sub_field_property_dict[\'key\']=base_category\n
sub_field_property_dict[\'title\']=base_category\n sub_field_property_dict[\'title\']=base_category\n
context.log(base_category)\n
sub_field_property_dict[\'item_list\']=context.portal_categories.resolveCategory(base_category).getCategoryChildLogicalPathItemList()\n sub_field_property_dict[\'item_list\']=context.portal_categories.resolveCategory(base_category).getCategoryChildLogicalPathItemList()\n
sub_field_property_dict[\'value\']=context.aq_parent.aq_parent.getProperty(base_category)\n sub_field_property_dict[\'value\']=context.aq_parent.aq_parent.getProperty(base_category)\n
\n \n
......
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:here.portal_preferences.getPreferredDmsBaseCategoryListList() or []</string> </value> <value> <string>python:here.portal_preferences.getPreferredDmsBaseCategoryList() or []</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list> <list>
<string>my_preferred_dms_base_category_list_list</string> <string>my_preferred_dms_base_category_list</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_preferred_dms_base_category_list_list</string> </value> <value> <string>my_preferred_dms_base_category_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
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