Problem/Motivation

If a view has more than one chart per display per page, views results field data is cached on the first display and not reset for the other displays.

Proposed resolution

Set a display key when static caching in ViewsHighchartsOptions::getFieldValues().

User interface changes

None.

API changes

None.

Comments

scottrigby’s picture

Status: Active » Fixed

Committed 5d3a856

Status: Fixed » Closed (fixed)

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

scottrigby’s picture

Title: Highcharts views field data caches for all displays » Highcharts views field data caches for all views and displays
Status: Closed (fixed) » Needs work

Reopening and changing title, because drupal_static() will now return the same cached fields to two displays of the same name from two different views ;)

So we now need a patch to add the view name key before display name: $values[$this->view->name][$this->view->current_display][$row_index][$field_id]