Opened 20 months ago

Last modified 5 weeks ago

#1488114 new Feature Requests

Use "Nickname" field for email autocomplete

Reported by: dmandell Owned by:
Priority: 5 Milestone: later
Component: Addressbook Version: 0.6
Severity: normal Keywords:
Cc:

Description

The "Nickname" field in the address book doesn't do anything right now, I assume that it's supposed to be usable for email address autocomplete when composing an email.

To reproduce:

Add a nickname to one of your address book contacts, save.
Compose a new email.
Type the nickname for your contact, note that autocomplete doesn't do anything.

Attachments (1)

rcube.svn2011-11-18.nickname.patch (3.4 KB) - added by Seanster 18 months ago.
autocomplete and include nicknames in address book list

Download all attachments as: .zip

Change History (4)

comment:1 Changed 19 months ago by alec

  • Milestone changed from 0.7-beta to later
  • Type changed from Bugs to Feature Requests

comment:2 Changed 18 months ago by Seanster

This will add the nickname field to autocomplete:

/program/steps/mail/autocomplete.inc
line 65

change:

if ($result = $abook->search(array('email','name'), $search, $mode, true, true, 'email')) {

to:

if ($result = $abook->search(array('email','name','nickname'), $search, $mode, true, true, 'email')) {

This only changes the search, it doesn't cause the nickname to be shown anywhere it didn't before.

The attached patch file adds this autocomplete ability and also adds an extra column in the address book list to show the nicknames, if any.

rcube.svn2011-11-18.nickname.patch

I also have a similar patch for the compose_addressbook plugin (but only for "full" book mode).

It's available here:

http://www.seanster.com/rcube/

Last edited 18 months ago by Seanster (previous) (diff)

Changed 18 months ago by Seanster

autocomplete and include nicknames in address book list

comment:3 Changed 5 weeks ago by kgc

This issue has come up for us too. Any reason why this patch hasn't been included? Would the devs like to see additional functionality added before committing it?

Note: See TracTickets for help on using tickets.