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

No category names tweaking here (it is implementation level).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12854 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8196cbad
......@@ -69,17 +69,17 @@
<item>
<key> <string>_body</string> </key>
<value> <string>"""\n
Used by parellel list field\n
Document_library/my_dms_category_list\n
(see http://wiki.erp5.org/HowToConfigureParallelListField)\n
To produce a tree we use Category_childShortTitleOrIdItemList\n
to display short title or id\n
Used by parellel list field\n
Document_library/my_dms_category_list\n
(see http://wiki.erp5.org/HowToConfigureParallelListField)\n
To produce a tree we use getCategoryChildLogicalPathItemList\n
and we cache\n
"""\n
from Products.ERP5Type.Cache import CachingMethod\n
\n
def cached_DMSGetItemList(base_category):\n
basecatobject = context.portal_categories.resolveCategory(base_category)\n
return basecatobject.Category_childTitleOrIdItemList()\n
return basecatobject.getCategoryChildLogicalPathItemList()\n
\n
cached_DMSGetItemList = CachingMethod(cached_DMSGetItemList, id=\'DMGetItemListCachedMethodWhatever\')\n
\n
......
532
\ No newline at end of file
535
\ 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