On Mon, 11 Mar 2002, Andrew Sydelko wrote:
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...
Just tell ZCatalog to index on GetExplicitRevision. It will acquire up and find it and apply it in context of the object. There's the good side of acquisition for you. ;-) -- Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Independent Knowledge Management Consultant