diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php index bc747e7..a8abdbd 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php @@ -171,7 +171,8 @@ public function cacheGet($type) { // $view->current_page. if ($cache = \Drupal::cache($this->table)->get($this->generateResultsKey())) { if (!$cutoff || $cache->created > $cutoff) { - $this->view->result = $this->view->query->loadEntities($cache->data['result']); + $this->view->result = $cache->data['result']; + $this->view->query->loadEntities($this->view->result); $this->view->total_rows = $cache->data['total_rows']; $this->view->setCurrentPage($cache->data['current_page']); $this->view->execute_time = 0;