Steve Alexander wrote:
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!
More data: This gives partial results: <dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')"> This gives full results: <dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')[:]"> This gives full results: <dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')" sort="subject_name"> -- Steve Alexander Software Engineer Cat-Box limited