Forums / Developer / More filtering / Comment44488

Author Topic

Kristof Coomans

Sunday 23 October 2005 4:26:24 am

Comment44488

I think you need to use the values 1 and 0 (checked and uncheked) when you want to filter on an attribute with datatype checkbox, because it's stored as an integer in the database.

Your attribute filter will be:

array( array( 'folder/vis_meny',
               '=',
               1
             )
     )

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org