Re: search persons for more than one keyword

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
On Aug 4, 2004, at 16:55, Thomas Kriener wrote:
> I'm trying to search persons for more than one keyword using
> person.fetchIds and the following searchString:
> keywords like 'Keyword1' AND keywords like 'Keyword2'
>
> This produces following error:
> Fault 0: 'UnsupportedQualifierException:
> SkyPersonDataSource: EOKeyValueQualifers are only supported by 
> following
> operators: (EOQualifierOperatorLike, EOQualifierOperatorEqual)'
>
> Using the same method for account.fetchIds it works.

I'm a bit surprised, I don't think that the backend supports searching 
for two attributes, but I might be wrong.

So: can you confirm that account.fetchIds _really_ works for such a 
specification? (eg does it really return only records which match 
'Keyword1' _and_ 'Keyword2')?
I would guess that the bug is actually in account.fetchIds which should 
throw an exception just like SkyPersonDataSource.

Greets,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.