Olav Frengstad
|
Monday 21 February 2011 1:19:19 am
Hey, Im trying to fetch the latest node that HAS a file attached to it but can't seem to make it work:
{def $item = fetch('content',
'tree',
hash( 'parent_node_id', 60,
'limit', 1,
'class_filter_type', 'include',
'class_filter_array', array( 'news' ),
'attribute_filter', array('and',
array( 'news/podcasturl', '!=', null())
)
)
)}
Iv tried to look through SQL debug and it doesnt even look like the query is performed :/ Why don't the null() operator work? i tried false, and '' also with no luck...
|