[Erp5-dev] start_date on non-movement object
bartek
bartek at erp5.pl
Tue Mar 25 09:37:11 CET 2008
Ćukasz Nowak wrote:
> Hello,
>
> On 2008-03-25, 09:19:56
> bartek <bartek at erp5.pl> wrote:
>
> (...)
>>> Indeed. My persondata table has start_date and price - as I
> added
>>> price to Person type. Everything is catalogued, but I'm able to
>>> search using catalog with price property, using start_date do not
>>> work.
>>>
>> Did you select persondata table as search table in catalog properties?
>
> Yes. Using price property it is possible to search/sort on Person
> objects.
What are the results of:
context.portal_catalog(portal_type='Person', price=123, src__=1)
context.portal_catalog(portal_type='Person', start_date='2001/01/01'
src__=1)
kw = {'portal_type':'Person', 'persondata.start_date':'2001/01/01',
'src__':1}
context.portal_catalog(**kw)
B
>
> Regards,
> Luke
>
More information about the Erp5-dev
mailing list