app/models/bulkrax/exporter.rb in bulkrax-7.0.0 vs app/models/bulkrax/exporter.rb in bulkrax-8.0.0

- old
+ new

@@ -135,11 +135,11 @@ def exporter_export_zip_files @exporter_export_zip_files ||= Dir["#{exporter_export_zip_path}/**"].map { |zip| Array(zip.split('/').last) } end def export_properties - properties = Bulkrax.curation_concerns.map { |work| work.properties.keys }.flatten.uniq.sort - properties.reject { |prop| Bulkrax.reserved_properties.include?(prop) } + # TODO: Does this work for Valkyrie? + Bulkrax.object_factory.export_properties end def metadata_only? export_type == 'metadata' end