[Bug 956618]

Bugzilla2007 956618 at bugs.launchpad.net
Sun Oct 27 14:21:40 UTC 2013


This looks like one of the main places where we call addToResult(...) function (see comment 49).
If that's correct, one way of fixing this bug might be this:

Around here...

http://mxr.mozilla.org/comm-central/source/mailnews/addrbook/src/nsAbAutoCompleteSearch.js#146
146  let email = card.primaryEmail;
147           if (email)
148             this._addToResult(commentColumn, directory, card, email, true, result);

...perhaps we could get the nick field as we now get the email field, and then add matches of the search fullstring (is that available here?) against nick to a separate result array, say resultTop.
Then merge resultTop Array with result array.

We also need to sort multiple nick matches on something (because
unfortunately it's possible to have multiple cards with same nick).

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla.
https://bugs.launchpad.net/bugs/956618

Title:
  Nickname not over-riding names in email address

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/956618/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list