Commit 1f8d5cb7 authored by Jean-Paul Smets's avatar Jean-Paul Smets

New naming of category


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@310 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b689ddba
...@@ -117,7 +117,7 @@ a service in a public administration).""" ...@@ -117,7 +117,7 @@ a service in a public administration)."""
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getVariationRangeCategoryItemList') 'getVariationRangeCategoryItemList')
def getVariationRangeCategoryItemList(self, base_category_list = (), base=1, root=1, def getVariationRangeCategoryItemList(self, base_category_list = (), base=1, root=1,
method_id='getTitle', start_with_item=None): method_id='getTitle', current_category=None):
""" """
Returns possible variations Returns possible variations
""" """
...@@ -152,12 +152,12 @@ a service in a public administration).""" ...@@ -152,12 +152,12 @@ a service in a public administration)."""
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getVariationCategoryItemList') 'getVariationCategoryItemList')
def getVariationCategoryItemList(self, base_category_list = (), base=1, def getVariationCategoryItemList(self, base_category_list = (), base=1,
method_id='getTitle',start_with_item=None): method_id='getTitle',current_category=None):
""" """
Returns possible variations Returns possible variations
""" """
result = Variated.getVariationCategoryItemList(self, base_category_list = base_category_list, result = Variated.getVariationCategoryItemList(self, base_category_list = base_category_list,
method_id=method_id, base = base, start_with_item=None) method_id=method_id, base = base, current_category=None)
try: try:
other_variations = self.searchFolder(portal_type = variation_type_list) other_variations = self.searchFolder(portal_type = variation_type_list)
except: except:
......
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