[turba] Address Book Setup Questions

Jan Schneider jan at horde.org
Wed Oct 25 16:12:56 PDT 2006


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Adam Tauno Williams <adam at morrison-ind.com>:
>
>> 1. Compound field (and others) appearing in Advanced Search.
>>
>> Since OGo supplies a firstname/lastname field I have a field in the
>> source defined like:
>>
>> 'name' => array('fields' => array('firstname', 'lastname'),
>>                       'format' => '%s %s'),
>>
>> - which appears OK and works as the link to go from search results to
>> editing the record/object.
>>
>> But "name" also appears in Advanced Search.  Is it possible to limit the
>> fields that appear in advanced search?  Since "name" isn't really a
>> field I can't search it;  it does appear greyd out in the edit and add
>> screens.
>>
>> There are also other fields that cannot be searched but are available to
>> the user I would like to not appear in the Advanced Search form,  which
>> seems to just display all the fields.
>>
>> I have a "search" stanza in the source config -
>>    'search' => array(
>>        'displayname',
>>        'firstname',
>>        'lastname',
>>    ),
>> - but it only limits the 'quick search' screen.
>
> Yup, that's how things currently work. Suggestions for the best way  
> to tweak this are welcome.

Shouldn't composite fields simply search all fields they are used to build it?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list