Re: search persons for more than one keyword
Thomas Kriener <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Helge, you are right. Everything before the AND seems to be ignored. It was due to our query that we thought it works fine. If I understand you right, the AND-operator is there, but has no function anyway? Is there any possibility to search for more than one keyword ? Regards, Thomas Kriener Helge Hess schrieb: > 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 -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc