[Zope-dev] ZCatalog problem: sort_on bug

Steve Alexander steve@cat-box.net
Mon, 24 Sep 2001 20:11:53 +0100


I'm getting a strange problem with ZCatalog, using python 2.1, Zope from 
CVS.

I get all the results I expect with this:

<ul>
<dtml-in "Catalog(process_step=['start','mailed'])">

<li> &dtml-subject_name; -- &dtml-relationship_name; -> &dtml-rater_name;

</dtml-in>
</ul>

But, I only get one subject_name's worth of results with this:

<ul>
<dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')">

<li> &dtml-subject_name; -- &dtml-relationship_name; -> &dtml-rater_name;

</dtml-in>
</ul>


This smells like a BTrees bug to me, but I'm not sure. I'm looking into 
this closely now, but if anyone's seen this before, please speak up!

--
Steve Alexander
Software Engineer
Cat-Box limited