Re: Multiple Qualifiers

Helge Hess <[email protected]> Thu, 8 Jun 2006 02:46:41 +0200
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
On Jun 7, 2006, at 7:53PM, Adam Tauno Williams wrote:
> Interesting that this doesn't return an error -
> result = server.person.fetch(
>   {
>     "qualifier":     "firstName LIKE '*steve*' AND name LIKE  
> '*berns*'",
>     "sortOrderings" : ["name",],
>   });
> - but it also returns no data.

Hm, yes, the EOQualifier=>backend converter checks for the "*". I  
think it can't do arbitary LIKE searches either (don't know which  
ones it can deal with).

> Neither does this, which I know should match -
> result = server.person.fetch(
>  {
>   "qualifier":     "firstName LIKE '*tev*' AND name LIKE '*ern*'",
>   "sortOrderings" : ["name",],
>  });
>
>
> Do you think there might be a bug here?

Maybe. Try 'tev*' instead of '*tev*'. Does this change anything?

Greets,
   Helge

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc