app/jobs/bulkrax/create_relationships_job.rb in bulkrax-4.3.1 vs app/jobs/bulkrax/create_relationships_job.rb in bulkrax-4.4.0

- old
+ new

@@ -79,10 +79,10 @@ # Work-Collection membership is added to the child as member_of_collection_ids # This is adding the reverse relationship, from the child to the parent def collection_parent_work_child child_work_ids = child_records[:works].map(&:id) - parent_record.reindex_extent = Hyrax::Adapters::NestingIndexAdapter::LIMITED_REINDEX + parent_record.try(:reindex_extent=, Hyrax::Adapters::NestingIndexAdapter::LIMITED_REINDEX) parent_record.add_member_objects(child_work_ids) ImporterRun.find(importer_run_id).increment!(:processed_relationships, child_work_ids.count) # rubocop:disable Rails/SkipsModelValidations end