Commit 98455762 authored by Amos Latteier's avatar Amos Latteier

Fixed a catalog sort_on bug. Now sorting on a FieldIndex should always work.

parent c6bd608f
......@@ -408,7 +408,7 @@ class Catalog(Persistent, Acquisition.Implicit):
rs=data.items()
append(LazyMap(self.instantiate, rs))
else:
for k, intset in sort_index.items():
for k, intset in sort_index._index.items():
append((k,LazyMap(self.__getitem__, intset)))
elif rs:
if sort_index is None:
......
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