Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Currently, if an argument on a panel pane is empty, it still takes priority over the pane_description text
For example, I have a view pane with description:
Headline, 403x250 image, teaser and 2 related links
And an argument for taxonomy term id, exposed and set via pane config.
However, if the panel pane config form is saved, the admin pane text becomes:
Category:
The pane description is gone and an empty "argument name: no value" text shown instead.
The attached patch fixes the issue with a simple if(!empty($value)){}
check
cheers,
DT
P.S Thanks for the awesome module work, excellent stuff.
Comment | File | Size | Author |
---|---|---|---|
views_panes.inc_.hide-empty-argument-value-in-admin-desc.patch | 724 bytes | davidwhthomas | |
Comments
Comment #0.0
davidwhthomas CreditAttribution: davidwhthomas commentedFormatting fix
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted! Thanks for the patch!
Comment #2.0
(not verified) CreditAttribution: commentedSimplify