6.0.0-alpha12
6/12/25

[#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 slusarz (at) horde (dot) org
Requester webadmin (at) ualberta (dot) ca
Created 09/11/2008 (6118 days ago)
Due
Updated 01/12/2010 (5630 days ago)
Assigned 09/18/2008 (6111 days ago)
Resolved 12/19/2008 (6019 days ago)
Milestone
Patch Yes

History
12/19/2008 08:04:46 AM Michael Slusarz Comment #5
Assigned to Michael Slusarz
Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
Reply to this comment
Completed in IMP 5.
09/22/2008 04:45:24 AM 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 10:16:08 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
Patch ⇒ Yes
 
09/18/2008 06:07:17 PM 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/12/2008 01:45:43 AM Chuck Hagenbuch Comment #2
Version ⇒ HEAD
Queue ⇒ IMP
State ⇒ Accepted
Reply to this comment
This is an IMP issue
09/11/2008 04:37:26 PM webadmin (at) ualberta (dot) ca Comment #1
State ⇒ New
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ Don't do lookups on addresses for 1 or 2 characters
Type ⇒ Enhancement
Priority ⇒ 1. Low
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.

Saved Queries