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.
Follow-up to #2610002: If facet source is empty, it's unclear for an end-user what to do.
Problem/Motivation
If the facet source field is empty, the Add facet button should not be present on the page because you can't continue anyway.
Comment | File | Size | Author |
---|---|---|---|
#3 | if_facet_source_is-2610854-3.patch | 1.3 KB | borisson_ |
Screen Shot 2015-11-07 at 16.25.22.png | 112.61 KB | Novitsh |
Comments
Comment #2
Novitsh CreditAttribution: Novitsh at Colruyt Group Services commentedComment #3
borisson_Removing the button doesn't seem very easy, but I added the same message that we display on the overview in the edit form as well.
Comment #4
Novitsh CreditAttribution: Novitsh at Colruyt Group Services commentedTested this and for me this is already a good step. Are we going to commit this already or are we going for the removal of the 'Add facet' and 'Save' buttons as well?
Comment #5
borisson_Committed, thanks for the review.