[bugs] [Bug 1140] New - Default address book(s) for expanding
addresses
bugs at bugs.horde.org
bugs at bugs.horde.org
Fri Jan 3 02:53:49 PST 2003
http://bugs.horde.org/show_bug.cgi?id=1140
*** shadow/1140 Fri Jan 3 02:53:49 2003
--- shadow/1140.tmp.24405 Fri Jan 3 02:53:49 2003
***************
*** 0 ****
--- 1,50 ----
+ Bug#: 1140
+ Product: Horde
+ Version: 2.3 Unstable
+ Platform: PHP Code
+ OS/Version: other
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck at horde.org
+ ReportedBy: phancock at phxlib.org
+ URL:
+ Summary: Default address book(s) for expanding addresses
+
+ I am unable to get the defaults to select correctly in imp for expanding
+ addresses. When a user goes into Options/Address Books, there are no
+ address books selected. Instead, both address books are in the
+ "available" box. I set search_fields and search_sources, which I
+ understand is supposed to set the defaults, but it does not seem to.
+
+ PPL is an LDAP directory, and localsql is the personal addressbook target:
+
+ // address book(s) to use when expanding addresses
+ // You can provide default values this way (note the \t and the double quotes):
+ $_prefs['search_sources'] = array(
+ 'value' => 'PPL\tlocalsql',
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'implicit');
+
+ // field(s) to use when expanding addresses
+ // This depends on the search_sources preference if you want to provide
+ // default values:
+ $_prefs['search_fields'] = array(
+ 'value' => 'PPL\tname\tusername\temail\tlocalldap\tname\temail',
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'implicit');
+
+ Expand names works if one goes into the address books option and manually
+ sets it up.
+
+ Any ideas why the defaults aren't being set? I insured that all
+ preferences for the test user had been deleted from the preferences
+ database.
+
+ Thanks!
+
More information about the bugs
mailing list