Forums / Setup & design / Attribute_filter for a checkbox

Attribute_filter for a checkbox

Author Message

Olivier G.

Friday 16 September 2005 1:50:51 am

Hello everybody !

I'm trying ti filter a fetch with the value of a checkbox.

I tried to write :
{def $actualites_pme=fetch( 'content', 'list', hash('parent_node_id', $veille_pme.node_id, 'attribute_filter', array( array( 284, '=', '1' ))))}

But this does not work...

I think that it's because of the ezboolean type of the attribute. Did anyone know the right expression ?