Commit bfd011cd authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed Solanes typo

replaced start_with_item with current_category


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@417 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7198426
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solane <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsability of assessing all potential
...@@ -126,7 +126,7 @@ class Variated(Interface): ...@@ -126,7 +126,7 @@ class Variated(Interface):
pass pass
def getVariationRangeCategoryItemList(self, base_category_list = (), def getVariationRangeCategoryItemList(self, base_category_list = (),
method_id='getTitle', base=1, start_with_item=None): method_id='getTitle', base=1, current_category=None):
""" """
returns a list of (category.id, category.method_id()) which are acceptable returns a list of (category.id, category.method_id()) which are acceptable
as discrete variation values as discrete variation values
...@@ -141,7 +141,7 @@ class Variated(Interface): ...@@ -141,7 +141,7 @@ class Variated(Interface):
pass pass
def getVariationRangeBaseCategoryItemList(self, base_category_list = (), def getVariationRangeBaseCategoryItemList(self, base_category_list = (),
method_id='getTitle', base=1, start_with_item=None): method_id='getTitle', base=1, current_category=None):
""" """
returns a list of base category items which are acceptable returns a list of base category items which are acceptable
as discrete variation values as discrete variation values
......
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