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

Fixed controls in forms (some bugs, added contributors to OOo view)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0c4ce18
......@@ -317,7 +317,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: (here.getContributorTitleList() or [])+(here.getContributorNameList() or [])</string> </value>
<value> <string>here/getContributorTitleList</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -72,7 +72,7 @@
# we can return raw set, the class will get objects and make the records unique\n
# if you want only the most recent versions, filter the result and apply DMS_findDocument \n
ss=[]\n
context.log(script.getId(),\'running\')\n
if context.getReference() is None: return []\n
ss.append(context.getReference())\n
if context.getLanguage() is not None:\n
ss.append(context.getReference()+\'-\'+context.getLanguage())\n
......@@ -129,7 +129,6 @@ return lst\n
<string>ss</string>
<string>_getattr_</string>
<string>context</string>
<string>script</string>
<string>None</string>
<string>lst</string>
<string>_getiter_</string>
......
......@@ -299,7 +299,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_preferences/getPreferredDmsBaseCategoryListList</string> </value>
<value> <string>python:here.portal_preferences.getPreferredDmsBaseCategoryListList() or []</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -80,6 +80,9 @@
<string>my_description</string>
<string>my_keywords</string>
<string>my_subject</string>
<string>my_contributor_list</string>
<string>my_contributor_name_list</string>
<string>my_contributor_related_title_list</string>
</list>
</value>
</item>
......
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