0

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.