6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10913] Autocompleter uses "email"-field only
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__ __.. .__. [__ | \(__ | | | | |__/.__)|___|__\
Comment
> I was irritated by the results of the Autocompleter in IMP once more... > > Our global addressbook contains just work-mailaddresses, so I > configured turbas database-backend accordingly. > > It was like this in backends.local.php: > ** snip ** > 'homePostalCode' => 'postcode', > 'workEmail' => 'email_zew', > 'workPhone' => 'phone_zew', > ** snip ** > 'search'=>array('name','workEmail'), > ** snip ** > > Now I found out the reason, why the autocompleter completely ignored > this source (lib/imp/Ajax/Imple/ContactAutoCompleter.php:46ff): > foreach ($sparams['fields'] as $val) { > array_map('strtolower', $val); > sort($val); > if ($val != array('email', 'name')) { > $success = false; > break; > } > } > > So at least the keys email and name have to be present in source. > I think this should be mentioned somewhere in documentation, is it? > Or maybe even better, the autocompleter would accept different > mail-fields, e.g. all fields, marked as type="email" in > attributes.php?
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