Commit 0b853cab authored by Yoshinori Okuji's avatar Yoshinori Okuji

sort_order was broken.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4086 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6ebec08
...@@ -1272,13 +1272,6 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -1272,13 +1272,6 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
so=kw['sort_order'] so=kw['sort_order']
else: so=None else: so=None
if so is not None:
if type(so) is type('a'):
if so.find(',')>0:
so = [x.strip() for x in so.split(',')]
else:
so = [so]
# We must now turn sort_index into # We must now turn sort_index into
# a dict with keys as sort keys and values as sort order # a dict with keys as sort keys and values as sort order
if type(sort_index) is type('a'): if type(sort_index) is type('a'):
......
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