From 746ed31cd7e8083e0725290117cf4b5a7f0f6c9d Mon Sep 17 00:00:00 2001 From: jambun Date: Thu, 16 Feb 2017 13:25:03 +1100 Subject: [PATCH] archival objects need dates too --- backend/converters/obsolete_carriers_converter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/converters/obsolete_carriers_converter.rb b/backend/converters/obsolete_carriers_converter.rb index a20b73a..016937e 100644 --- a/backend/converters/obsolete_carriers_converter.rb +++ b/backend/converters/obsolete_carriers_converter.rb @@ -311,6 +311,7 @@ def format_record(row) :dates => [format_date(row['date'])].compact, :extents => [format_extent(row)].compact, :instances => [format_instance(row)].compact, + :dates => [format_date(row['date_expression'])].compact, :notes => [], :subjects => [{ :ref => get_subject_uri(row['subject_genre']) }], :linked_events => [{ :ref => create_event(uri) }],