Commit 5e73d7e4 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove selected language as cache group : this gets the non-translated description.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10544 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 430c066f
......@@ -84,7 +84,7 @@ def getFieldDescription():\n
return property.get(\'description\', \'\')\n
return desc\n
\n
getFieldDescription = CachingMethod(getFieldDescription, (\'getFieldDescription\', field.aq_parent.getId(), field.getId(), context.Localizer.get_selected_language()), cache_duration=None)\n
getFieldDescription = CachingMethod(getFieldDescription, (\'getFieldDescription\', field.aq_parent.getId(), field.getId()), cache_duration=None)\n
\n
return getFieldDescription()\n
</string> </value>
......@@ -140,7 +140,6 @@ return getFieldDescription()\n
<string>CachingMethod</string>
<string>getFieldDescription</string>
<string>_getattr_</string>
<string>context</string>
<string>None</string>
</tuple>
</value>
......
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