On Thu, 11 Mar 2010 10:38:20 -0600, Ryan Horrisberger
<[email protected]> wrote:
> On Thu, 11 Mar 2010 08:16:45 -0800, Arne Berglund wrote:
>> 
>> I reset my autocomplete to match yours, and my behavior is quite
>> different. My entries are sorted alphabetically by first name then
last.
> If
>> I have an SQL entry that is also in the LDAP book, it is listed twice,
> one
>> right after the other.
> 
> Thank again Arne!  I setup a fresh install and my results matched yours,
> with results sorted by 'display name' attribute (normally the same as
> firstname, lastname).
> 
> I wonder then, what the point of the 'ordered' component of
> $rcmail_config['autocomplete_addressbooks'] is?  Maybe it's time for a
> plugin that mirrors Mail.app and Thunderbird's behavior in this regard.
> 
> -ry

I don't know why the order would be important in that config.

The changes I made to my autocomplete settings were to attempt to make the
behavior more like that of other clients. I did two things. The first was
to make it look for pattern match only from the beginning of a search
string. That way a search for 'ran' only returns RANdy and RANdall, not
bRANdi, bertRANd or bRANdenburg.

The other change is that by default, autocomplete searches for matches in
the email address and the display name. I changed mine so that it searches
both first and last names instead of the display name.

I should note that while these changes work fine in the SQL autocomplete,
LDAP ignores them and still looks for pattern matches anywhere in the
stringe, and only in email and display names. I haven't found where to make
LDAP autocomplete mimic what I've done for the SQL book. This is another
reason I went with the compose_addressbook plugin with the LDAP book, and
limited autocomplete to SQL.

-- 
Arne Berglund
System Administrator, Internet Services
Lane Education Service District
Eugene, OR
______________
_______________________________________________
List info: http://lists.roundcube.net/users/

Reply via email to