[Zope-CMF] Portal catalog criterias
   
    Gitte Wange
     
    gitte@mmmanager.org
       
    Wed, 1 Aug 2001 15:27:39 +0200
    
    
  
Hello,
I am trying to create a bit complex catalog query.
I want to find some items with metatype='Media Manager Live Event' (my own 
meta_type). These objects inherits from the CMFCalendar.Event class. These 
objects have an attribute called start_time. Now I want to get the objects 
which start_date is in the future.
I know that the DateTime object has a method called isFuture(). But I can't 
just write this:
portal_catalog.searchResults(meta_type='Media Manager Live Event', 
start=start_date.isFuture())
So my quesion is:
How do I make the catalog search for objects properties (is it possible) and 
how do I make it find objects there are only "present" in the future ???
Regards,
-- 
Gitte Wange Jensen
Sys Admin, Developer and a lot more
MMmanager.org Aps, Denmark
Phone: +45 29 72 79 72
Email: gitte@mmmanager.org
Web: www.mmmanager.org
Quote of the day:
This breaks the cron job that calls self.Zoo.Diet.LargeAnimals.hippo.feed(),
and all the hippos starve. Someone uses 
self.Zoo.Diet.buildings.visitor_reception.feed(),
and ends up filling the reception with hippo food.
	- Toby Dickenson, 20 Oct 2000 (Talking about URL Traversal