Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the child view does not have results, the field is empty. However, the no results behavior of the parent views field does not work.
Comments
Comment #1
butteryak CreditAttribution: butteryak commentedI'm got the same issue.
Comment #2
damiankloip CreditAttribution: damiankloip commentedHave you tried setting the hide empty option on the views field view handler?
Comment #3
sinn CreditAttribution: sinn commented#2 works for me ))
Comment #4
knalstaaf CreditAttribution: knalstaaf commentedI'm having the same issue, tried different if empty options...
EDIT: I was using a separate custom text field to rewrite the Views Field View (because there's no such option in the field itself), hence it was never regarded as empty. Rewriting the child view (as suggested here) and setting its if empty options solved the issue for me.
Comment #5
robertwb CreditAttribution: robertwb commentedBased on comments, this seems to work properly, changing to documentation and closing.