Commit b7db313d authored by Vincent Pelletier's avatar Vincent Pelletier

Get the list of group titles to generate the cache key for...

Get the list of group titles to generate the cache key for Form_getGroupTitleAndId. This fixes the case when creating a form, displaying it and then creating groups with fields would not render the fields (because the groups are not known in the cache).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11205 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09e7dfa6
...@@ -121,7 +121,7 @@ def getFormGroupTitleAndId():\n ...@@ -121,7 +121,7 @@ def getFormGroupTitleAndId():\n
return res\n return res\n
\n \n
getFormGroupTitleAndId = CachingMethod(getFormGroupTitleAndId,\n getFormGroupTitleAndId = CachingMethod(getFormGroupTitleAndId,\n
("ERP5Site_getFormGroupTitleAndId", form.id),\n ("ERP5Site_getFormGroupTitleAndId", form.id, form.get_groups(include_empty=0)),\n
cache_duration=None)\n cache_duration=None)\n
return getFormGroupTitleAndId()\n return getFormGroupTitleAndId()\n
</string> </value> </string> </value>
......
290 294
\ 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