[Zope] getOwner FieldIndex

Andreas Jung lists at andreas-jung.com
Thu Dec 2 14:54:36 EST 2004



--On Donnerstag, 2. Dezember 2004 20:48 Uhr +0100 Garito 
<garito at sistes.net> wrote:

> Andreas Jung wrote:
>
>>
>>
>> --On Donnerstag, 2. Dezember 2004 20:05 Uhr +0100 Garito
>> <garito at sistes.net> wrote:
>>
>>> Hi again
>>> I'm try to make searches for owner
>>> For that I create a FieldIndex with Indexed attributes getOwner
>>>
>>> I reindex the catalog and it found 17 objects for Owner
>>>
>>
>> getOwner() returns the user *object* but *not* the username!
>>
>> -aj
>
> Hi Andreas
> Do you know how to setup the index to returns the username with a
> fileindex?
> If is not possible I can use proxyindex
>

Write script that returns the owner as *string* and give the fieldindex the 
name
of that script.

-aj





More information about the Zope mailing list