"hide if empty or if no-results-text"

Created on 23 August 2016, over 8 years ago
Updated 21 September 2023, over 1 year ago

The "hide if empty" checkbox works great, but if any of the nested fields display a "no results text" then the fieldset displays. It'd be great if there was a way to specify that the fieldset should show only if real content exists in the nested fields and to ignore the "no results text".

An example. Assume the following structure in views "Show fields":
- fieldset "group"
-- field "name" with hide if empty
-- field "photo" with hide if empty and no result text "no photo available"

1. for name "joe" and no photo it correctly shows: group [joe - no photo available]
2. for name "joe" and photo it correctly shows: group [joe - photo 1]
3. for no name and photo it correctly shows: group [photo 1]
4. for no name and no photo it shows: group [no photo available] which, for my requirements, is wrong. It'd like it to render nothing.

✨ Feature request
Status

Closed: outdated

Version

2.1

Component

User interface

Created by

πŸ‡¬πŸ‡·Greece ioannis.cherouvim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Helping co-maintain this module for D10 going forward. Don't plan on doing any work with D7 unless something comes up for review.

    Since D7 version of this module hasn't had a release in 5+ think it's safe to close out so that focus can stay on D10+

Production build 0.71.5 2024