Skip to content

Commit c817d9b

Browse files
committed
change link format to Select2 for group document facets
1 parent a3fa2a3 commit c817d9b

3 files changed

+12
-24
lines changed

config/facets.facet.changed.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ show_only_one_result: false
1616
field_identifier: changed
1717
facet_source_id: 'search_api:views_page__iasc_group_content__page_documents'
1818
widget:
19-
type: links
19+
type: select2
2020
config:
2121
show_numbers: true
22-
soft_limit: 0
23-
soft_limit_settings:
24-
show_less_label: 'Show less'
25-
show_more_label: 'Show more'
26-
show_reset_link: false
27-
reset_text: 'Show all'
28-
hide_reset_when_no_selection: false
22+
width: 100%
23+
autocomplete: false
24+
match_operator: CONTAINS
2925
query_operator: or
3026
use_hierarchy: false
3127
expand_hierarchy: false

config/facets.facet.document_type_label.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ show_only_one_result: false
1616
field_identifier: document_type_label
1717
facet_source_id: 'search_api:views_page__iasc_group_content__page_documents'
1818
widget:
19-
type: links
19+
type: select2
2020
config:
2121
show_numbers: false
22-
soft_limit: 0
23-
soft_limit_settings:
24-
show_less_label: 'Show less'
25-
show_more_label: 'Show more'
26-
show_reset_link: false
27-
reset_text: 'Show all'
28-
hide_reset_when_no_selection: false
22+
width: 100%
23+
autocomplete: false
24+
match_operator: CONTAINS
2925
query_operator: or
3026
use_hierarchy: false
3127
expand_hierarchy: false

config/facets.facet.product_category_label.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ show_only_one_result: false
1616
field_identifier: product_category_label
1717
facet_source_id: 'search_api:views_page__iasc_group_content__page_documents'
1818
widget:
19-
type: links
19+
type: select2
2020
config:
2121
show_numbers: false
22-
soft_limit: 0
23-
soft_limit_settings:
24-
show_less_label: 'Show less'
25-
show_more_label: 'Show more'
26-
show_reset_link: false
27-
reset_text: 'Show all'
28-
hide_reset_when_no_selection: false
22+
width: 100%
23+
autocomplete: false
24+
match_operator: CONTAINS
2925
query_operator: or
3026
use_hierarchy: false
3127
expand_hierarchy: false

0 commit comments

Comments
 (0)