When it is downloaded, the block is not updated instantly.

CommentFileSizeAuthor
#4 After.png105.7 KBrenatog
#4 Before.png71.98 KBrenatog
#2 block_cached-2884115-2.patch667 bytesrhormens

Comments

rhormens created an issue. See original summary.

rhormens’s picture

StatusFileSize
new667 bytes

Add $content['#cache'] in method build(FileDownloadPopularBlock.php).

rhormens’s picture

Status: Active » Needs review
renatog’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new71.98 KB
new105.7 KB

Hi guys.

I applied the patch and works fine for me.

Before (Without patch)
Needs clear cache for show new information:

After apply patch the config for block is ok:

+RTBC

Thank you very much @rhormens.

NewZeal’s picture

Pushed to dev. If no problems then will deploy to beta4 shortly.

renatog’s picture

Perfect @new-zeal.

Thank you very much.

Can you update issue status for "Fixed", please?

Good Work and Good Week.

Regards.

NewZeal’s picture

Status: Reviewed & tested by the community » Fixed

Fixed and in 8.x-1.0-beta4

Status: Fixed » Closed (fixed)

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