Commit 17213e0e authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added comment suggesting use of catalog API

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@36052 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 89f09430
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -1380,7 +1381,7 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -1380,7 +1381,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
category_list.append("%s/%s" % (base_category, context.getRelativeUrl())) category_list.append("%s/%s" % (base_category, context.getRelativeUrl()))
sql_kw = {} sql_kw = {}
for sql_key in ('limit', 'order_by_expression'): for sql_key in ('limit', 'order_by_expression'): # XXX-JPS it would be better to use Catalog API
if sql_key in kw: if sql_key in kw:
sql_kw[sql_key] = kw[sql_key] sql_kw[sql_key] = kw[sql_key]
......
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