[Tickets #8726] search fields empty

bugs at horde.org bugs at horde.org
Wed Nov 25 13:30:01 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8726
------------------------------------------------------------------------------
  Ticket             | 8726
  Created By         | sistemisti-posta at csi.it
  Summary            | search fields empty
  Queue              | Horde Groupware Webmail Edition
  Version            | 1.2.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


sistemisti-posta at csi.it (2009-11-25 08:30) wrote:

I have horde-webmail with shared address books and this turba sources.php:

$cfgSources['localsql'] = array(
...
         'firstname' => 'object_firstname',
         'lastname' => 'object_lastname',
         'middlenames' => 'object_middlenames',
         'namePrefix' => 'object_nameprefix',
         'nameSuffix' => 'object_namesuffix',
         'name' => array('fields' => array('namePrefix', 'firstname',
                                           'middlenames', 'lastname',
                                           'nameSuffix'),
                         'format' => '%s %s %s %s %s',
                         'parse' => array(
                             array('fields' => array('firstname',  
'middlenames',
                                                     'lastname'),
                                   'format' => '%s %s %s'),
                             array('fields' => array('firstname', 'lastname'),
                                   'format' => '%s %s'))),
         'email' => 'object_email',
...
     'search' => array(
         'name',
         'email'
     ),
     'strict' => array(
         'object_id',
         'owner_id',
         'object_type',
     ),
     'export' => true,
     'browse' => true,
     'use_shares' => true,
     'list_name_field' => 'lastname',
);

In IMP prefs I set
$_prefs['search_sources'] = array(
     'value' => '',
     'hook' => true,
     'locked' => false,
     'shared' => true,
     'type' => 'implicit');

$_prefs['search_fields'] = array(
     'value' =>  '',
     'locked' => false,
     'shared' => true,
     'type' => 'implicit');

It works. From IMP Option --> Address book I see in the right box (seleceted
address books) my shared address books. Autocomplete works with default fields
(name).

But the box:

"Click on one of your selected address books and then select all fields
to search.
To select multiple fields, hold down the Control (PC) or Command (Mac)
while clicking."

is always empty. No fields shown, same for all address books. I can't set my
personal "search_fields" values.

Regards






More information about the bugs mailing list