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.
Vote's value_type
field, has a default value of percent
. This is fairly arbitrary. Instead, I think, the value that is configured as part of the vote type should be used. A default value callback could be used for that.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2897495-4-default-value-type.patch | 1.37 KB | TR |
Comments
Comment #2
tstoecklerThis seems to work for me.
Comment #3
TR CreditAttribution: TR commentedPatch no longer applies and needs to be rerolled.
Comment #4
TR CreditAttribution: TR commentedHere's a re-roll and an update. This seems like a good clean up and gets us one step closer to properly dealing with values stored in value_type. See the related issue for more discussion about value_type.