By rendering the timer field in views, all views get the countdown from the latest posted node. The settings of the countdown in the node remain correct. I try with county and jquery countdown. I also try several views, same result.

Comments

Belba created an issue. See original summary.

gresko8’s picture

Version: 8.x-1.0-alpha1 » 8.x-1.x-dev
Assigned: belba » Unassigned
Status: Active » Needs review
StatusFileSize
new1.5 KB

I can confirm this issue comes up if you put countdown in view using fields. It is caused by itemKeys variable, which in said case gets reused across multiple entities.
Attaching a patch that solves it by rearranging itemKeys array into multidimensional array keyed by entity id.

sergei_brill’s picture

Please, test latest update in development branch. It should fix this issue.

  • sergei_brill committed bc9fc86 on 8.x-1.x
    Issue #3019330 by gresko8: Views render all the same countdowns
    
nikita_tt’s picture

In a case the list of items is empty then there won't be an appropriate array key.

  • sergei_brill committed 3cb6f55 on 8.x-1.x authored by nikita_tt
    Issue #3019330 by gresko8, nikita_tt, sergei_brill: Views render all the...
sergei_brill’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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