I'm trying to get a list of entries that have at least one asset in it (standard assets field) called "assets".
{% for entry in craft.entries.section('banks').first.assets.filename(':notempty:').limit(2) %}
<p> {{ entry.title }}
{% endfor %}
It don't show anything, no errors either.
Please advice.
relatedToparameter, see the answer I accepted. – carlcs Jan 29 '15 at 17:15