Closed
Bug 232570
Opened 21 years ago
Closed 21 years ago
respect ldap2.server.position values for ab pane and search order
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Bienvenu, Assigned: Bienvenu)
References
Details
Attachments
(1 file)
27.51 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
We need the .position pref value, which is settable by MCD, to control the order
that ldap servers appear in the ab pane, and to control the search order for
auto-complete (the latter might already work - I don't know).
Assignee | ||
Comment 1•21 years ago
|
||
this patch does the following:
1. Replace nsISupportsArray with nsCOMArray for mSubDirectories member
2. Propagate server position to dirProperties.
3. Use serverPosition to sort ab pane servers.
4. Sort directory server list by position
Item 1 is not needed - I thought it was going to be useful so we could sort
mSubDirectories, but that hasn't turned out to be needed, yet. It's useful
cleanup, however.
Item 4 may not be needed - the idea is that there would be some code that would
just iterate over the dir servers so having them sorted by position would just
do the right thing - this is what 4.x did as well. This should control the
order that local directories are searched against, but it won't control the
order that ldap servers are autocompleted against since we only autocomplete
against a single ldap directory.
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 140677 [details] [diff] [review]
proposed fix
Scott, let me know if you think the nsISimpleEnumerator/nsCOMArray stuff is too
risky.
Attachment #140677 -
Flags: superreview?(mscott)
Updated•21 years ago
|
Attachment #140677 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 3•21 years ago
|
||
fixed on trunk and .5/m4 branch
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•