[Zope] ZCatalog counting?
R. David Murray
bitz@bitdance.com
Wed, 28 Jun 2000 13:48:56 -0400 (EDT)
On Tue, 27 Jun 2000, Steve Spicklemire wrote:
> OK.. how about one more little special case....
>
> There are
> <dtml-in "Catalog(meta_type="Folder")" size=1>
> <dtml-var sequence-length>
> <dtml-else>
> 0
> </dtml-in>
> items of type Folder.
Um...yep. Just actually looked at my code, and I do indeed
have that special case in my working code <apologetic grin>.
That probably makes the set/len code the less complex of the two.
--RDM