I have resolve my problem. It's very odd. It's the place of the operator...
query &= Eq('portal_type', 'J_Product')
query &= Eq('review_state', 'published')
I replace this by :
query = query & Eq('portal_type', 'J_Product')
query = query & Eq('review_state', 'published')
It's work :)
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )