[Zope] ZCatalog Field indexes

Tim McLaughlin tim@siteworx.com
Fri, 22 Nov 2002 10:07:11 -0500


I swear that this used to work, but I think maybe it has changed accidentally somewhere in 2.4+.

Catalog(field1='') (where field1 is a 'Field' type index)

should return all catalogged objects which have an empty string for that attribute, and it used to (I think).  In current versions, ZCatalog just seems to ignore the parameter altogether and return all catalogged objects.  This current implementation doesn't make sense to me...

Tim
-- 
Tim McLaughlin
Chief Technology Officer
Siteworx, Inc... Set your site on the future!
703.390.5421