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.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bogdan.negru created an issue. See original summary.

bogdan.negru’s picture

Status: Active » Needs review
FileSize
820 bytes

Added a patch that fixes this issue.

bogdan.negru’s picture

Added 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

mikhailkrainiuk’s picture

Assigned: Unassigned » mikhailkrainiuk

mikhailkrainiuk’s picture

Assigned: mikhailkrainiuk » Unassigned
Status: Needs review » Fixed

Ok. Patch committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.