[Zope-dev] RE: Catalog

Michel Pelletier michel@digicool.com
Thu, 15 Jul 1999 15:46:58 -0400


> -----Original Message-----
> From: Jason Spisak [mailto:webmaster@mtear.com]
> Sent: Thursday, July 15, 1999 4:16 PM
> To: Michel Pelletier
> Cc: zope-dev@zope.org
> Subject: Re: Catalog
> 
> 
> Michel,
> 
> Howdy.  When asking for objects out of the Catalog the 
> following doesn't
> process the second parameter. It gives me all objects with the id that
> is the same as the user's name.  Is there another syntax for narrowing
> it down?
> 
> {'id' : AUTHENTICATED_USER.getUserName()},{'meta_type' : 'Employee'} 

It should just be one mapping with two keys, not two one key mappings:

{'id' : AUTHENTICATED_USER.getUserName(), 'meta_type' : 'Employee'}

> 
> Also, did you get that mail about the import scripts?

I haven't had a chance to reproduce it yet, I will get to it however.

-Michel

> 
> All my best,
> 
> Jason Spisak
> webmaster@mtear.com
>