Commit be1f9e59 authored by Sebastien Robin's avatar Sebastien Robin

updated getPredicatePropertyDict


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3219 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e51be7d6
......@@ -439,9 +439,9 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
if range_criterion is not None:
for property, (min, max) in range_criterion.items():
if min is not None:
property_dict['%s_min' % property] = min
property_dict['%s_range_min' % property] = min
if max is not None:
property_dict['%s_max' % property] = max
property_dict['%s_range_max' % property] = max
property_dict['membership_criterion_category_list'] = object.getMembershipCriterionCategoryList()
return property_dict
......
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