<= not working with selection attributes
the following fetch
{def $notizie = fetch('content', 'tree', hash(parent_node_id, $node.node_id,
class_filter_type, 'include',
class_filter_array, array('flc_notizia'),
attribute_filter, array(array('flc_notizia/categoria', '<=', 10)),
))}
where 'categoria' is a selection attribute
will NOT give you all objects where IDs (or values, or content) for categoria = 0,1,2,3,4,5,6,7,8,9,10
but only those whose IDs are 0,1, or 10 , since it seems that those values are compared in a string-like fashion, e.g. '2' > '10' .