logo       

Re: API Search Patch: msg#00039

horde.turba

Subject: Re: API Search Patch

Quoting mbydalek@xxxxxxxxxxxxxx:

Just to make sure I'm not a moron or anything, this was my code for the
registry call:
$args = array('names' => array($vars->get('user_email')),
'fields' => array('email'));
$details = $registry->call('clients/searchClients', $args);

No, fields is expected to be indexed by source key, so that you can specify
different lists of fields for each source.

What was happening though was that the 'fields' was being completely
ignored. Take a look at the patch and see if what I've done makes sense as
there can never be any $fields[$source] (as far as I can tell) unless I am
just doing this whole thing wrong.

See above, and look at how IMP calls this function.

-chuck

--
"But she goes not abroad in search of monsters to destroy." - John Quincy Adams
--
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe@xxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise