[Zope] ZCatalog question... possible bug

Andrew Sydelko andrew@sydelko.org
Mon, 11 Mar 2002 11:33:26 -0500


On Monday 11 March 2002 11:28, you wrote:
> Workaround:
>
> * create a python script in /company (or closer to the root) called
> something like "GetExplicitRevision". Set it to
>
>   return getattr(context.aq_explicit, "latestRevision", None)
>
> And have your ZCatalog collect the results of
> folder.subfolder.GetExplicitRevision, rather than
> folder.subfolder.latestRevision

I'm not sure how to get ZCatalog to use the python script to get the
latestRevision field...

--andy.