[Tickets #14719] Re: Turba_Api::search() option 'returnFields' does not get honored
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Oct 26 14:34:19 UTC 2017
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/14719
------------------------------------------------------------------------------
Ticket | 14719
Aktualisiert Von | birnbacs at gmail.com
Zusammenfassung | Turba_Api::search() option 'returnFields' does not get
| honored
Warteschlange | Turba
Version | Git master
Typ | Bug
Status | Unconfirmed
Priorität | 1. Low
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
birnbacs at gmail.com (2017-10-26 14:34) hat geschrieben:
My code:
$opts = array(
'returnFields' => array ('fax', 'firstname', 'lastname'), // works not
'fields' => array ('lastname'), // works
//'count_only' => true, // works
);
$result = $GLOBALS['registry']->contacts->search('searchstring', $opts);
The output invariably comprises entries with all available fields,
regardless of their name and content.
More information about the bugs
mailing list