6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7876] Searching with more than one strict fields
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. ..__ . | || ||_/ [__)| |__||/\|| \| |___
Comment
> I'm working on a new module where I would like to create new contact > lists in turba. Right now I do this via api-call: > > > > $apiargs = array( > > 'content' => array( > > '__type' => 'Group', > > '__members' => serialize($this->_vars->get('students')), > > 'name' => $this->_vars->get('contact_list')), > > 'contentType' => 'array', > > 'source' => $this->_vars->get('address_book') > > ); > > $result = $registry->call('contacts/import', $apiargs); > > > > The import methode then adds 'owner' as the second strict element and > tries to search for an allready existing entry. Without my patch this > search results in a mySQL syntax error because the two strict fields > 'type' and 'owner' are not combined by 'AND' or 'OR'.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers