diff --git a/core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php b/core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php index fe8010f..c31cd84 100644 --- a/core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php +++ b/core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php @@ -32,7 +32,6 @@ protected function initializeIterator() { * Only those values are returned that are actually in the database. */ protected function values() { - $rankings = array_map('unserialize', $this->prepareQuery()->execute()->fetchAllKeyed()); $search_active_modules = $this->variableGet('search_active_modules', ''); $values = []; foreach (['node', 'user'] as $module) { @@ -44,7 +43,7 @@ protected function values() { ]; // Add the node_rank_* variables (only relevant to the node module). if ($module === 'node') { - $tmp = array_merge($tmp, $rankings); + $tmp = array_merge($tmp, parent::values()); } $values[] = $tmp; }