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 the results and meter templates don't know about the selected choice. The results template claims it does, but the code providing that flag seems to be broken. Attached will be a patch fixing that bug and allowing the meter template to know about the selected option as well.
Comment | File | Size | Author |
---|---|---|---|
#2 | poll-2899927-2.patch | 3.63 KB | kristiaanvandeneynde |
|
Comments
Comment #2
kristiaanvandeneyndeComment #4
kristiaanvandeneyndePatch works fine for me, not sure what's failing.
Comment #5
BerdirThe tests are now fixed.
Removing those properties seems unrelated?
Having this tested would be nice.
Comment #6
kristiaanvandeneyndeMust be reverting a part of #2874140: Add poll entity and view mode for template_preprocess_poll_results() by accident.
Comment #7
idebr CreditAttribution: idebr at ezCompany commentedThis was fixed in #67931: UI improvement: display current user's vote