diff --git a/CHANGELOG.md b/CHANGELOG.md index d1b3c23..e55f763 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Stanford Migrate +8.6.4 +-------------------------------------------------------------------------------- +_Release Date: 2024-08-08_ + +- Fixed Localist json data parser to work with the new version of migrate_plus + + 8.6.3 -------------------------------------------------------------------------------- _Release Date: 2024-07-31_ diff --git a/src/Plugin/migrate_plus/data_parser/LocalistJson.php b/src/Plugin/migrate_plus/data_parser/LocalistJson.php index 2db857c..c6c179c 100644 --- a/src/Plugin/migrate_plus/data_parser/LocalistJson.php +++ b/src/Plugin/migrate_plus/data_parser/LocalistJson.php @@ -20,7 +20,7 @@ class LocalistJson extends Json { protected function getSourceData(string $url, string|int $item_selector = ''): array { $source_data = []; foreach (self::getPagedUrls($url) as $page_url) { - $source_data = [...$source_data, ...parent::getSourceData($page_url)]; + $source_data = [...$source_data, ...parent::getSourceData($page_url, $item_selector)]; } return $source_data; } diff --git a/stanford_migrate.info.yml b/stanford_migrate.info.yml index 9a3a44b..09b1b91 100755 --- a/stanford_migrate.info.yml +++ b/stanford_migrate.info.yml @@ -3,7 +3,7 @@ description: 'Adds more functionality to migrate and migrate plus modules' type: module core_version_requirement: ^10.3 || ^11 package: 'Stanford' -version: 8.6.3 +version: 8.6.4 dependencies: - drupal:migrate - empty_fields:empty_fields