diff --git a/modules/opencase_defaults/config/optional/block.block.osiclevel.yml b/modules/opencase_defaults/config/optional/block.block.osiclevel.yml new file mode 100644 index 0000000..020b7d3 --- /dev/null +++ b/modules/opencase_defaults/config/optional/block.block.osiclevel.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - facets.facet.osic_level + module: + - facets + theme: + - bartik +id: osiclevel +theme: bartik +region: sidebar_second +weight: 0 +provider: null +plugin: 'facet_block:osic_level' +settings: + id: 'facet_block:osic_level' + label: 'OSIC level' + provider: facets + label_display: visible + block_id: osiclevel +visibility: { } diff --git a/modules/opencase_defaults/config/optional/facets.facet.osic_level.yml b/modules/opencase_defaults/config/optional/facets.facet.osic_level.yml new file mode 100644 index 0000000..fb7e5b5 --- /dev/null +++ b/modules/opencase_defaults/config/optional/facets.facet.osic_level.yml @@ -0,0 +1,47 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.opencase_reporting_volunteers + - views.view.reporting_volunteers + module: + - search_api +id: osic_level +name: 'OSIC level' +url_alias: osic_level +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_osic_level +facet_source_id: 'search_api:views_page__reporting_volunteers__page_1' +widget: + type: checkbox + config: + show_numbers: false + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' +query_operator: or +use_hierarchy: 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: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + 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/modules/opencase_defaults/config/optional/facets.facet.osic_level_export.yml b/modules/opencase_defaults/config/optional/facets.facet.osic_level_export.yml new file mode 100644 index 0000000..3efc3bb --- /dev/null +++ b/modules/opencase_defaults/config/optional/facets.facet.osic_level_export.yml @@ -0,0 +1,47 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.opencase_reporting_volunteers + - views.view.reporting_volunteers + module: + - search_api +id: osic_level_export +name: 'OSIC level (Export)' +url_alias: osic_level +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_osic_level +facet_source_id: 'search_api:views_data_export__reporting_volunteers__data_export_1' +widget: + type: checkbox + config: + show_numbers: false + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' +query_operator: or +use_hierarchy: 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: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: false