Commit 8691c08a authored by Bartek Górny's avatar Bartek Górny

fixed naming (DMSDocument_getLatestVersion)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10402 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d8bd2f61
...@@ -135,7 +135,7 @@ return res[0].getObject()\n ...@@ -135,7 +135,7 @@ return res[0].getObject()\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>DMSDocument_getLastVersion</string> </value> <value> <string>DMSDocument_getLatestVersion</string> </value>
</item> </item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<value> <string>def getRelatedLatest(category):\n <value> <string>def getRelatedLatest(category):\n
funcname=\'get%sValueList\' % category.title()\n funcname=\'get%sValueList\' % category.title()\n
func=getattr(context,funcname)\n func=getattr(context,funcname)\n
return [o.DMS_getLatestVersion() for o in func()]\n return [o.DMSDocument_getLatestVersion() for o in func()]\n
\n \n
what=kw.get(\'what\')\n what=kw.get(\'what\')\n
if what==\'wiki_predecessor\':\n if what==\'wiki_predecessor\':\n
......
203 208
\ 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