[Zope] zCatalog and subobjects

2000-08-17 Thread Menard . Jean-Francois
I'm trying to search a zCatalog to find all the objects containing a certain type of sub-object. Right now, I use a dtml-if inside the result loop, but the result count is obviously wrong. There must be a better way to do this, right? Jean-François Ménard Intranet DPAS Pratiques d'affaires

[Zope] zCatalog and subobjects

2000-08-17 Thread Menard . Jean-Francois
(Post #2) I'm trying to search a zCatalog to find all the objects containing a certain type of sub-object. Right now, I use a dtml-if inside the result loop, but the result count is obviously wrong. There must be a better way to do this, right? Jean-François Ménard Intranet DPAS Pratiques

Re: [Zope] zCatalog and subobjects

2000-08-17 Thread Chris McDonough
ZCatalog doesn't do well on hierarchical searches like this. The way you're doing it (without some sort of change to your objects' structures) is pretty much the only way. There's a "ZTopics" product floating around that is supposed to provide functionality like this, but 1) I don't know if