diff --git a/codebase/config/sync/core.entity_form_display.node.islandora_object.default.yml b/codebase/config/sync/core.entity_form_display.node.islandora_object.default.yml index f93086318..e1cf85d02 100644 --- a/codebase/config/sync/core.entity_form_display.node.islandora_object.default.yml +++ b/codebase/config/sync/core.entity_form_display.node.islandora_object.default.yml @@ -113,7 +113,7 @@ third_party_settings: - field_date_created - field_date_published - field_date_copyrighted - - group_date_solr_year + - field_sort_date parent_name: '' weight: 2 format_type: details @@ -195,20 +195,6 @@ third_party_settings: classes: '' open: false label: Resources - group_date_solr_year: - children: - - field_years - parent_name: group_dates - weight: 46 - format_type: details - region: content - format_settings: - id: '' - classes: '' - description: '' - open: false - required_fields: true - label: 'Date - Solr Year' _core: default_config_hash: HLvUbruUDjxBUB1PEtEQF7ZvGRY-87E68yLt78KBruM id: node.islandora_object.default @@ -238,7 +224,7 @@ content: type: options_buttons region: content field_access_terms: - weight: 10 + weight: 11 settings: { } third_party_settings: { } type: options_select @@ -378,12 +364,12 @@ content: region: content field_display_hints: type: options_buttons - weight: 11 + weight: 12 region: content settings: { } third_party_settings: { } field_dspace_identifier: - weight: 67 + weight: 68 settings: placeholder_url: '' placeholder_title: '' @@ -391,7 +377,7 @@ content: type: link_default region: content field_dspace_item_id: - weight: 68 + weight: 69 settings: size: 60 placeholder: '' @@ -491,7 +477,7 @@ content: region: content field_member_of: type: entity_reference_autocomplete - weight: 9 + weight: 10 region: content settings: match_operator: CONTAINS @@ -559,7 +545,7 @@ content: type: options_buttons region: content field_sort_date: - weight: 69 + weight: 46 settings: { } third_party_settings: { } type: datetime_default @@ -600,7 +586,7 @@ content: type: options_select region: content field_unique_id: - weight: 12 + weight: 13 settings: size: 60 placeholder: '' @@ -608,7 +594,7 @@ content: type: string_textfield region: content field_weight: - weight: 13 + weight: 14 settings: placeholder: '' third_party_settings: { } diff --git a/codebase/config/sync/facets.facet.date.yml b/codebase/config/sync/facets.facet.date.yml new file mode 100644 index 000000000..0a6597871 --- /dev/null +++ b/codebase/config/sync/facets.facet.date.yml @@ -0,0 +1,51 @@ +uuid: 36253efe-86ba-4782-9f32-74c27203c6fa +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: date +name: Date +url_alias: date +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: solr_years +facet_source_id: 'search_api:views_rest__solr_search_content__rest_export_1' +widget: + type: array + config: + show_numbers: false +query_operator: or +use_hierarchy: false +keep_hierarchy_parents_active: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: DESC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: false diff --git a/codebase/config/sync/search_api.index.default_solr_index.yml b/codebase/config/sync/search_api.index.default_solr_index.yml index 49080bd93..7853084ee 100644 --- a/codebase/config/sync/search_api.index.default_solr_index.yml +++ b/codebase/config/sync/search_api.index.default_solr_index.yml @@ -808,6 +808,10 @@ field_settings: dependencies: module: - node + solr_years: + label: 'Solr Years' + property_path: solr_years + type: string sort_date: label: 'Sort Date' property_path: sort_date @@ -947,6 +951,7 @@ processor_settings: solr_date_range: weights: preprocess_index: 0 + solr_years: { } sort_date: { } tracker_settings: default: