app/parsers/bulkrax/xml_parser.rb in bulkrax-1.0.2 vs app/parsers/bulkrax/xml_parser.rb in bulkrax-2.0.0
- old
+ new
@@ -10,9 +10,14 @@
def collection_entry_class; end
# @todo not yet supported
def create_collections; end
+ # TODO: change to differentiate between collection and work records when adding ability to import collection metadata
+ def works_total
+ total
+ end
+
# @todo not yet supported
def import_fields; end
def valid_import?
raise StandardError, 'No metadata files found' if metadata_paths.blank?