Commit 35acb076 authored by Rosemary Mann's avatar Rosemary Mann
Browse files

Merge branch '19-facets' into '8.x-1.x'

Resolve "Add facets to the Blog listing page"

Closes #19

See merge request !25
parents 87a9a78d 27027ef6
langcode: en
status: true
dependencies:
config:
- search_api.index.blog
- views.view.blog
module:
- search_api
id: blog_topics
name: 'Blog Topics'
url_alias: blog_topics
weight: 0
min_count: 1
show_only_one_result: false
field_identifier: field_topics
facet_source_id: 'search_api:views_page__blog__page_listing'
widget:
type: checkbox
config:
show_numbers: true
soft_limit: 10
soft_limit_settings:
show_less_label: 'Show fewer'
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: -10
settings:
sort: ASC
term_weight_widget_order:
processor_id: term_weight_widget_order
weights:
sort: -10
settings:
sort: ASC
translate_entity:
processor_id: translate_entity
weights:
build: 5
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: -10
build: -10
settings: { }
empty_behavior:
behavior: none
......@@ -4,6 +4,7 @@ dependencies:
config:
- field.storage.node.field_tags
- field.storage.node.field_summary
- field.storage.node.field_topics
- search_api.server.database
- core.entity_view_mode.node.search_index
module:
......@@ -96,6 +97,14 @@ field_settings:
datasource_id: 'entity:node'
property_path: promote
type: boolean
field_topics:
label: Topics
datasource_id: 'entity:node'
property_path: field_topics
type: integer
dependencies:
config:
- field.storage.node.field_topics
datasource_settings:
'entity:node':
bundles:
......@@ -106,7 +115,10 @@ datasource_settings:
default: true
selected: { }
processor_settings:
rendered_item: { }
add_url: { }
aggregated_field: { }
entity_status: { }
tokenizer:
all_fields: false
fields:
......@@ -119,7 +131,6 @@ processor_settings:
weights:
preprocess_index: -44
preprocess_query: -46
aggregated_field: { }
stopwords:
all_fields: false
fields:
......@@ -165,11 +176,6 @@ processor_settings:
weights:
preprocess_index: -48
preprocess_query: -50
rendered_item: { }
entity_status: { }
content_access:
weights:
preprocess_query: -45
ignorecase:
all_fields: false
fields:
......@@ -190,6 +196,9 @@ processor_settings:
weights:
preprocess_index: -47
preprocess_query: -48
content_access:
weights:
preprocess_query: -45
html_filter:
all_fields: false
fields:
......
uuid: 392eb691-4753-4737-af52-c4d417d12522
langcode: en
status: true
dependencies:
config:
- block_visibility_groups.block_visibility_group.blog_listing
- facets.facet.blog_topics
module:
- block_visibility_groups
- facets
theme:
- octavia
id: blog_topics_facet
theme: octavia
region: sidebar_first
weight: 0
provider: null
plugin: 'facet_block:blog_topics'
settings:
id: 'facet_block:blog_topics'
label: Topics
provider: facets
label_display: visible
visibility:
condition_group:
id: condition_group
negate: false
block_visibility_group: blog_listing
context_mapping: { }
langcode: en
status: true
dependencies:
module:
- system
id: blog_listing
label: 'Blog Listing'
logic: and
conditions:
b3c1bb42-5349-4f54-abe9-590277c82bcc:
id: request_path
pages: /blog
negate: false
context_mapping: { }
uuid: b3c1bb42-5349-4f54-abe9-590277c82bcc
allow_other_conditions: false
......@@ -3,6 +3,8 @@ description: 'Provide Blog content type and related configuration. Use <em>blog<
type: module
core: 8.x
dependencies:
- block
- block_visibility_groups
- comment
- config_actions
- drutopia_comment
......@@ -12,6 +14,7 @@ dependencies:
- drutopia_site
- ds
- entity_reference_revisions
- facets
- field
- field_group
- image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment