Commit 8b31f85d authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fix copy/paste error.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1441 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d266bdd9
...@@ -657,8 +657,8 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -657,8 +657,8 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
try: try:
new_sort_index = [] new_sort_index = []
for (k , v) in sort_index: for (k , v) in sort_index:
if len(acceptable_key_map[key]) == 1 : if len(acceptable_key_map[k]) == 1 :
k = acceptable_key_map[key][0] + '.' + k k = acceptable_key_map[k][0] + '.' + k
elif query_table: elif query_table:
k = query_table + '.' + k k = query_table + '.' + k
if v == 'descending' or v == 'reverse': if v == 'descending' or v == 'reverse':
......
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