[Zope] getOwner FieldIndex

Garito garito at sistes.net
Fri Dec 3 09:31:12 EST 2004


Andreas Jung wrote:

>
>
> --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
>
>
>
Hi Andreas!
I prefer to create the index as proxyindex insteat of fieldindex (I 
actually use a proxyindex index)
Thanks you for your very apreciate help!




More information about the Zope mailing list