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.
For a poll that is closed, and has the display option set to 'After poll is closed', the 'Most Recent Poll' block is not displayed anymore.
The block should display the results when the poll is closed if the administrators selected the display results after poll is closed option, as it is described in the field description:
To display results without allowing an opportunity to vote, select 'After poll is closed' and close the poll.
Comment | File | Size | Author |
---|---|---|---|
#3 | advpoll-fix-most-recent-block-2922162-3-7.x-3.x.patch | 959 bytes | bogdan.negru |
| |||
#2 | advpoll-fix-most-recent-block-2922162-1-7.x-3.x.patch | 820 bytes | bogdan.negru |
|
Comments
Comment #2
bogdan.negru CreditAttribution: bogdan.negru as a volunteer commentedAdded a patch that fixes this issue.
Comment #3
bogdan.negru CreditAttribution: bogdan.negru as a volunteer commentedAdded another patch, as I checked again and it would be also helpful to show the block with the poll even after the closing date, as described after a user voted (e.g. The results of this poll will be available after Tuesday, November 14, 2017 - 4:00pm.)
So after the patch, the most recent poll block will be displayed in the following situations:
For Display results set to After poll is closed:
- when the poll is open
- when the poll is closed (manually)
- when the end date of poll availability is passed.
For Display results set to Never:
- when the poll is open
- between the dates of poll availability
For Display results set to After voting:
- when the poll is open
- between the dates of poll availability
Comment #4
mikhailkrainiuk CreditAttribution: mikhailkrainiuk as a volunteer and at DrupalJedi commentedComment #6
mikhailkrainiuk CreditAttribution: mikhailkrainiuk as a volunteer and at DrupalJedi commentedOk. Patch committed.