[Zope-dev] Sorting for zope.app.catalog

2008-12-30 Thread Dan Korostelev
Hello! After some discussion, sorting support for zope.index was added. It's now in zope.index 3.5.0. So, the next step is to add sorting/limiting/reversing to zope.app.catalog. I made a nadako-sorting branch of zope.app.catalog. It modifies the ``searchResults`` method of the catalog so it

Re: [Zope-dev] Sorting for zope.app.catalog

2008-12-30 Thread Chris McDonough
Dan Korostelev wrote: If _sort_index is not specified, catalog just uses list mechanisms to limit/reverse results. I don't think that makes any sense though. If _sort_index is specified, all sorting, reversing and limiting functionality is done by the ``sort`` method of specified index. That