Added OSIC level facet to volunteer report

This commit is contained in:
Naomi 2018-10-24 16:48:00 +01:00
parent 0aa6b92490
commit 7fd551982d
3 changed files with 116 additions and 0 deletions

View File

@ -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: { }

View File

@ -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

View File

@ -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