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.
I think it's good to add 0/1 option for the default formats for a boolean field so you can use hide if empty because "Count the number 0 as empty" makes sense.
Comment | File | Size | Author |
---|---|---|---|
#5 | views-0_1_format_boolean_field-1791372-5.patch | 674 bytes | yannickoo |
#2 | views-0_1_format_boolean_field-1791372-2.patch | 670 bytes | yannickoo |
#1 | views-0_1_format_boolean_field-1791372-1.patch | 674 bytes | yannickoo |
Comments
Comment #1
yannickooComment #2
yannickooUps, wrong order and we have to write them as integer and not as string.
Comment #3
dawehnerCool!
Comment #4
dawehnerCommitted to 7.3-3.x, do you want to create a patch for 8.x-3.x or should i just do that?
Comment #5
yannickooHere is the patch for 8.x-3.x
Comment #6
dawehnerPerfect. Committed and pushed.