[Zope] Need ZCatalog help
Martijn Pieters
mj@antraciet.nl
Fri, 10 Sep 1999 12:49:20 +0200
>If you specify 'sort-on', it should be the name of the index on which the
>results will be sorted. Note that at this moment, due to a bug you
>cannot sort on a FieldIndex!
Hmm. I was wrong. You can't sort on either. It is a bug that's easy to fix
however.
Change line 411 from:
for k, intset in sort_index.items():
to:
for k, intset in sort_index._index.items():
I'll post this to the Collector (but CCed it to Michel anyways ;))
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------