24 Sep
2001
24 Sep
'01
7:48 p.m.
Steve Alexander wrote:
This gives partial results:
<dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')">
...because this returns a LazyCat instance, for which len() is broken.
This gives full results:
<dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')[:]">
...because this is a list.
This gives full results:
<dtml-in "Catalog(process_step=['start','mailed'], sort_on='subject_name')" sort="subject_name">
...because this is a LazyMap instance, for which len() works. Patch coming up soon... -- Steve Alexander Software Engineer Cat-Box limited