Skip to content

Commit

Permalink
configuration changes to add sort_date and remove years field
Browse files Browse the repository at this point in the history
  • Loading branch information
Willow Gillingham committed May 13, 2022
1 parent 0af4de7 commit f7f0065
Show file tree
Hide file tree
Showing 15 changed files with 108 additions and 468 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,20 @@ dependencies:
- field.field.node.islandora_object.field_publisher
- field.field.node.islandora_object.field_publisher_country
- field.field.node.islandora_object.field_resource_type
- field.field.node.islandora_object.field_sort_date
- field.field.node.islandora_object.field_spatial_coverage
- field.field.node.islandora_object.field_subject
- field.field.node.islandora_object.field_table_of_contents
- field.field.node.islandora_object.field_title_language
- field.field.node.islandora_object.field_unique_id
- field.field.node.islandora_object.field_weight
- field.field.node.islandora_object.field_years
- node.type.islandora_object
enforced:
module:
- islandora_defaults
module:
- controlled_access_terms
- datetime
- field_group
- link
- reference_value_pair
Expand Down Expand Up @@ -557,6 +558,12 @@ content:
third_party_settings: { }
type: options_buttons
region: content
field_sort_date:
weight: 69
settings: { }
third_party_settings: { }
type: datetime_default
region: content
field_spatial_coverage:
weight: 24
settings:
Expand Down Expand Up @@ -607,15 +614,6 @@ content:
third_party_settings: { }
type: number
region: content
field_years:
weight: 42
settings:
strict_dates: false
intervals: true
sets: false
third_party_settings: { }
type: edtf_default
region: content
status:
type: boolean_checkbox
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ dependencies:
- field.field.node.islandora_object.field_publisher
- field.field.node.islandora_object.field_publisher_country
- field.field.node.islandora_object.field_resource_type
- field.field.node.islandora_object.field_sort_date
- field.field.node.islandora_object.field_spatial_coverage
- field.field.node.islandora_object.field_subject
- field.field.node.islandora_object.field_table_of_contents
- field.field.node.islandora_object.field_title_language
- field.field.node.islandora_object.field_unique_id
- field.field.node.islandora_object.field_weight
- field.field.node.islandora_object.field_years
- node.type.islandora_object
enforced:
module:
Expand Down Expand Up @@ -172,12 +172,12 @@ hidden:
field_model: true
field_publisher: true
field_publisher_country: true
field_sort_date: true
field_spatial_coverage: true
field_table_of_contents: true
field_title_language: true
field_unique_id: true
field_weight: true
field_years: true
langcode: true
openseadragon_media_evas_entity_view_1: true
openseadragon_media_evas_entity_view_2: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,20 @@ dependencies:
- field.field.node.islandora_object.field_publisher
- field.field.node.islandora_object.field_publisher_country
- field.field.node.islandora_object.field_resource_type
- field.field.node.islandora_object.field_sort_date
- field.field.node.islandora_object.field_spatial_coverage
- field.field.node.islandora_object.field_subject
- field.field.node.islandora_object.field_table_of_contents
- field.field.node.islandora_object.field_title_language
- field.field.node.islandora_object.field_unique_id
- field.field.node.islandora_object.field_weight
- field.field.node.islandora_object.field_years
- node.type.islandora_object
enforced:
module:
- islandora_defaults
module:
- controlled_access_terms
- datetime
- link
- reference_value_pair
- user
Expand Down Expand Up @@ -395,6 +396,15 @@ content:
third_party_settings: { }
type: entity_reference_label
region: content
field_sort_date:
weight: 43
label: above
settings:
format_type: medium
timezone_override: ''
third_party_settings: { }
type: datetime_default
region: content
field_spatial_coverage:
weight: 9
label: above
Expand Down Expand Up @@ -428,17 +438,6 @@ content:
third_party_settings: { }
type: entity_reference_label
region: content
field_years:
weight: 22
label: above
settings:
date_separator: dash
date_order: big_endian
month_format: mm
day_format: dd
third_party_settings: { }
type: edtf_default
region: content
islandora_fits_checksum:
weight: 10
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ dependencies:
- field.field.node.islandora_object.field_publisher
- field.field.node.islandora_object.field_publisher_country
- field.field.node.islandora_object.field_resource_type
- field.field.node.islandora_object.field_sort_date
- field.field.node.islandora_object.field_spatial_coverage
- field.field.node.islandora_object.field_subject
- field.field.node.islandora_object.field_table_of_contents
- field.field.node.islandora_object.field_title_language
- field.field.node.islandora_object.field_unique_id
- field.field.node.islandora_object.field_weight
- field.field.node.islandora_object.field_years
- node.type.islandora_object
enforced:
module:
Expand Down Expand Up @@ -405,17 +405,6 @@ content:
settings:
link: true
third_party_settings: { }
field_years:
type: edtf_default
weight: 40
region: content
label: above
settings:
date_separator: dash
date_order: big_endian
month_format: mm
day_format: dd
third_party_settings: { }
islandora_fits_checksum:
weight: 39
region: content
Expand Down Expand Up @@ -451,6 +440,7 @@ hidden:
field_dspace_item_id: true
field_gemini_uri: true
field_jhir: true
field_sort_date: true
field_unique_id: true
field_weight: true
openseadragon_media_evas_entity_view_2: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ dependencies:
- field.field.node.islandora_object.field_publisher
- field.field.node.islandora_object.field_publisher_country
- field.field.node.islandora_object.field_resource_type
- field.field.node.islandora_object.field_sort_date
- field.field.node.islandora_object.field_spatial_coverage
- field.field.node.islandora_object.field_subject
- field.field.node.islandora_object.field_table_of_contents
- field.field.node.islandora_object.field_title_language
- field.field.node.islandora_object.field_unique_id
- field.field.node.islandora_object.field_weight
- field.field.node.islandora_object.field_years
- node.type.islandora_object
enforced:
module:
Expand Down Expand Up @@ -177,12 +177,12 @@ hidden:
field_model: true
field_publisher: true
field_publisher_country: true
field_sort_date: true
field_spatial_coverage: true
field_table_of_contents: true
field_title_language: true
field_unique_id: true
field_weight: true
field_years: true
langcode: true
openseadragon_media_evas_entity_view_1: true
openseadragon_media_evas_entity_view_2: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ dependencies:
- field.field.node.islandora_object.field_publisher
- field.field.node.islandora_object.field_publisher_country
- field.field.node.islandora_object.field_resource_type
- field.field.node.islandora_object.field_sort_date
- field.field.node.islandora_object.field_spatial_coverage
- field.field.node.islandora_object.field_subject
- field.field.node.islandora_object.field_table_of_contents
- field.field.node.islandora_object.field_title_language
- field.field.node.islandora_object.field_unique_id
- field.field.node.islandora_object.field_weight
- field.field.node.islandora_object.field_years
- node.type.islandora_object
enforced:
module:
Expand Down Expand Up @@ -115,13 +115,13 @@ hidden:
field_publisher: true
field_publisher_country: true
field_resource_type: true
field_sort_date: true
field_spatial_coverage: true
field_subject: true
field_table_of_contents: true
field_title_language: true
field_unique_id: true
field_weight: true
field_years: true
islandora_fits_checksum: true
langcode: true
members_eva_entity_view_1: true
Expand Down
57 changes: 0 additions & 57 deletions codebase/config/sync/facets.facet.years.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: f1c1e21c-7ac1-4e2f-bba5-8cb17765293f
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_sort_date
- node.type.islandora_object
module:
- datetime
- epp
third_party_settings:
epp:
value: ''
on_update: 1
id: node.islandora_object.field_sort_date
field_name: field_sort_date
entity_type: node
bundle: islandora_object
label: 'Sort Date'
description: 'This field is for the purpose of overriding the singular sort date that is derived from the Published and Created date fields. Metadata Librarian and Collection Admins should not enter a Sort Date unless the system cannot process the Pub Date/Created Date to determine the sort.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: datetime

This file was deleted.

24 changes: 24 additions & 0 deletions codebase/config/sync/field.storage.node.field_sort_date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: 90599c8b-a166-4ac8-8e6e-5a383b9c40dc
langcode: en
status: true
dependencies:
module:
- datetime
- field_permissions
- node
third_party_settings:
field_permissions:
permission_type: public
id: node.field_sort_date
field_name: field_sort_date
entity_type: node
type: datetime
settings:
datetime_type: datetime
module: datetime
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
26 changes: 0 additions & 26 deletions codebase/config/sync/field.storage.node.field_years.yml

This file was deleted.

Loading

0 comments on commit f7f0065

Please sign in to comment.