I attempted this query:
Empty view is rendered regardless that there is no such thing as a consequence
And it did not work
I’ve a view of Choose nodes that shows utilizing a contextual filter. Inside that view I’ve embedded a view block into the header that shows a Featured Choose, passing it the contextual filters and left ‘Show even when no outcomes’ unchecked. Within the Featured Choose view I’ve set it to not show empty fields. Additionally I’ve added a filter to a area as recommended within the query above.
Nonetheless I get the next output within the views header:
<div class="view view-featured-judge view-id-featured_judge view-display-id-block view-dom-id-0cfff43385fef2dba170ae09d3f818cf"></div>
I’ve dpm’d the views array in preprocess view, and outcomes is empty. I’ve set it to NULL and it nonetheless shows. At current the one resolution seems to be to test if the outcomes array is empty and in that case add a category to show: none; which is frankly ludicrous.
Anybody have any concepts?