[#7322] Don't do lookups on addresses for 1 or 2 characters
Summary Don't do lookups on addresses for 1 or 2 characters
Queue IMP
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester webadmin (at) ualberta (dot) ca
Created 09/11/2008 (296 days ago)
Due
Updated 12/19/2008 (197 days ago)
Assigned 09/18/2008 (289 days ago)
Resolved 12/19/2008 (197 days ago)
Attachments ContactAutoCompleter.php.patch Download
Milestone
Patch Yes

History
12/19/2008 Michael Slusarz Comment #5
Taken from Horde DevelopersHorde Developers
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Completed in IMP 5.
09/22/2008 Michael Slusarz Comment #4 Reply to this comment
Simple brain-dead patch to limit searches to 3 characters or more.   
Unless we want to choose 3 characters for all installations, this 
should probably be implemented as a config setting for IMP.
Needs to be a config setting, but not entirely this simple.  In HEAD, 
if the addressbook contains less than 200 entries, this entire address 
book is sent to the browser and the browser does the search entirely 
within browser-space.  In this situation, there should be no 
limitation on the number of characters so the config text needs to 
make this clear.
09/18/2008 Jan Schneider Assigned to Horde DevelopersHorde Developers
Patch ⇒ 1
State ⇒ Assigned
 
09/18/2008 morgan (at) orst (dot) edu Comment #3
New Attachment: ContactAutoCompleter.php.patch Download
Reply to this comment
Simple brain-dead patch to limit searches to 3 characters or more.   
Unless we want to choose 3 characters for all installations, this 
should probably be implemented as a config setting for IMP.
09/11/2008 Chuck Hagenbuch Comment #2
State ⇒ Accepted
Version ⇒ HEAD
Queue ⇒ IMP
Reply to this comment
This is an IMP issue
09/11/2008 webadmin (at) ualberta (dot) ca Comment #1
Patch ⇒
Milestone ⇒
Summary ⇒ Don't do lookups on addresses for 1 or 2 characters
Queue ⇒ Turba
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Reply to this comment
Currently when you go to compose a message if you have any 
addressbooks defined in Turba horde will attempt to do address 
completion when you start typing in the "to" field.  However, if you 
have a large LDAP or other directory server included in the list it 
will return enormous lists when you match on one or two characters.   
To compound the problem, LDAP will return results based not only on 
the starting character of the address but if that character appears at 
all in the address so typing an 'a' to start an address will return 
everything from alansmith to zumberaya.

I would suggest holding back on any searches for address completion 
until the user has typed in at least 3 characters.