[Zope-dev] Re: Catalog

Jason Spisak webmaster@mtear.com
Thu, 15 Jul 1999 13:19:59 -0800


Michel,

It's all good :)

Thanks about the keys, I understand how the interface works now.  Keys
between brakets{}.  I appreciate all your help.

Jason Spisak
webmaster@mtear.com

Michel Pelletier wrote:
> 
> > -----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
> >