Open Bug 677815 Opened 13 years ago Updated 2 years ago

There's no way to set a filterTemplate for Addressbook LDAP search

Categories

(Thunderbird :: Address Book, defect)

x86
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: donrhummy, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 Build ID: 20110615151330 Steps to reproduce: When searching addresses from an ldap server in address book, you're stuck with the search filter that's built in to Thunderbird. It should enable you to use a config key similar to "ldap_2.servers.myLDAPServer.autoComplete.filterTemplate." Actual results: You only get results that fit the default search filter. Expected results: Just like in autocomplete, there should be a config key that I can set like: ldap_2.servers.myLDAPServer.addressBook.search.filterTemplate This would be the equivalent to the one for auto complete: ldap_2.servers.myLDAPServer.autoComplete.filterTemplate
The address book search filter is based on the mail.addr_book.quicksearchquery.format preference. This sets the filter for all address books. The LDAP search will translate the values from that string to the appropriate values for the search, based on your ldap_2.servers.default.attrmap.* preferences. Therefore I think this is invalid/wontfix.
(In reply to Mark Banner (:standard8) from comment #1) > The address book search filter is based on the > mail.addr_book.quicksearchquery.format preference. This sets the filter for > all address books. > > The LDAP search will translate the values from that string to the > appropriate values for the search, based on your > ldap_2.servers.default.attrmap.* preferences. > > Therefore I think this is invalid/wontfix. Two questions: 1. Why does this use a different format from autocomplete's filterTemplate? (They're inconsistent) 2. How do I search for a 3rd email with this? smptemail3 works in autoComplete.filterTemplate but isn't working here
I tried two ways and neither one works: 1. create ldap_2.servers.default.attrmap.ThirdEmail = smtpemail3 2. ldap_2.servers.default.attrmap.Custom4 = smtpemail3 smtpemail3 works in autoComplete.filterTemplate so I know it's valid. But it's not working here so something is different.
See Also: → 327263
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.