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.
Problem/Motivation
When trying to output zero values using views_xml, the field doesn't display at all.
Proposed resolution
Changing line 100 in views_xml.module to allow for zeros not to be filtered.
Comment | File | Size | Author |
---|---|---|---|
#3 | views_xml-fix_zero_values-2248017-3-D6.patch | 1.6 KB | othermachines |
#2 | fix_zero_values-2248017-1.patch | 887 bytes | jamiehollern |
Comments
Comment #1
jamiehollernAdded patch.
Comment #2
jamiehollernUpdated patch to reflect correct config.
Comment #3
othermachines CreditAttribution: othermachines commentedPatching the same issue against 6.x-1.x-dev. Is this the correct place to put it?
Comment #4
japerryMade a few alterations, look like this:
That looks to be accepting 0 values now.