Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Issue #2899254: Integrate editorial search with Search API module #434

Open
wants to merge 193 commits into
base: 8.x-2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
20c502c
Add search_api and facet module
chrfritsch Sep 12, 2017
8389d0d
Add VBO and index+server
chrfritsch Oct 16, 2017
c192fbf
Add facets
chrfritsch Oct 17, 2017
49dfacc
Use facets dev
chrfritsch Nov 2, 2017
d266358
Add toolbar
chrfritsch Nov 2, 2017
b37766a
Style content overview and remove toolbar block
chrfritsch Nov 7, 2017
5df7e38
Add db command patch
chrfritsch Nov 7, 2017
5b87def
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 7, 2017
5641d3d
Apply patches before dump creation
chrfritsch Nov 7, 2017
f938bec
Try to fix config
chrfritsch Nov 7, 2017
fd6ad2d
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 10, 2017
9f8ddb5
Fix config
chrfritsch Nov 10, 2017
17febb7
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
dbosen Nov 13, 2017
993c89b
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 14, 2017
1e7a320
Merge branch 'feature/2899254-integrate_editorial_search_with_search_…
chrfritsch Nov 14, 2017
0b7fed7
WIP
chrfritsch Nov 14, 2017
41a566c
Fix cs
chrfritsch Nov 14, 2017
5ae3f8f
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 14, 2017
f91dca3
WIP
chrfritsch Nov 15, 2017
1b9a54d
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 16, 2017
74bdf5d
WIP
chrfritsch Nov 16, 2017
d9fc9ec
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 23, 2017
87b1690
WIP
chrfritsch Nov 24, 2017
3d49485
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 27, 2017
859bba8
WIP
chrfritsch Nov 30, 2017
2c8cdf7
Merge branch 'feature/2899254-integrate_editorial_search_with_search_…
chrfritsch Nov 30, 2017
12f2876
Stable versions
chrfritsch Dec 5, 2017
f7d9c6a
Finalize content search
chrfritsch Dec 5, 2017
ee3fe89
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Dec 5, 2017
716f951
Update media view
chrfritsch Dec 6, 2017
7f235a8
Add media facets
chrfritsch Dec 6, 2017
917b2d0
Use search api in entity browser
chrfritsch Dec 7, 2017
ba7cac9
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Dec 20, 2017
9393f66
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Jan 19, 2018
4206ebf
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 19, 2018
2f6138b
Update modules and patches
chrfritsch Feb 19, 2018
a3386b7
Fix makefile
chrfritsch Feb 19, 2018
6d721a2
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 20, 2018
081b6eb
Add missing configs
chrfritsch Feb 20, 2018
6033735
Add local tasks to content view
chrfritsch Feb 20, 2018
9401202
Remove on all paths
chrfritsch Feb 21, 2018
a805017
Fix CS
chrfritsch Feb 21, 2018
3ab390b
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 21, 2018
e8b3e3b
Use config_selector for content view replacement
chrfritsch Feb 21, 2018
b4c1f1e
Use config_selector for media search
chrfritsch Feb 21, 2018
187d11f
Remove not used file
chrfritsch Feb 21, 2018
e49a670
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 23, 2018
02123b6
Use config_selector to get enabled media view
chrfritsch Feb 23, 2018
5925e84
Try to fix config
chrfritsch Feb 23, 2018
f8b630a
Update search_api
chrfritsch Feb 26, 2018
38326cf
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 5, 2018
e37591e
Merge branch 'develop' into feature/content-view-local-tasks
chrfritsch Mar 6, 2018
ae5fa45
Remove content_lock and scheduler fields
chrfritsch Mar 6, 2018
a4d5f91
Rename filters
chrfritsch Mar 6, 2018
2316bc6
Enhance check for scheduler menu item
chrfritsch Mar 6, 2018
f0295b1
Add required modules and reimport content view
chrfritsch Mar 6, 2018
d9dac01
Check if route exists
chrfritsch Mar 6, 2018
a719ca0
Recover view only when content_lock was removed
chrfritsch Mar 6, 2018
8b8f696
Wrong hook name
chrfritsch Mar 6, 2018
815fdb5
CS fixes
chrfritsch Mar 6, 2018
8ea6215
Add break
chrfritsch Mar 6, 2018
23adcae
Add config form
chrfritsch Mar 7, 2018
2c701c4
Add tests
chrfritsch Mar 7, 2018
d18e6b5
Cleanup
chrfritsch Mar 7, 2018
a3f70ef
Add group annotation
chrfritsch Mar 7, 2018
96a1d6d
Import new content lock view
chrfritsch Mar 7, 2018
3c75d72
Add update checklist point
chrfritsch Mar 8, 2018
80f355e
Change wording
chrfritsch Mar 8, 2018
84d52eb
Fix CS issue
chrfritsch Mar 8, 2018
cf8088e
Merge branch 'develop' into feature/content-view-local-tasks
chrfritsch Mar 8, 2018
02a2ae8
Remove cache clears from Configuration form
alexpott Mar 8, 2018
516dc4e
Fix caching
alexpott Mar 8, 2018
ef71d50
Less code and get to use a XOR
alexpott Mar 8, 2018
c781822
Less brakcets
alexpott Mar 8, 2018
565b959
Do less in the loop and explain why \Drupal::service('config.factory'…
alexpott Mar 8, 2018
b523dca
Merge branch 'feature/content-view-local-tasks' into feature/2899254-…
chrfritsch Mar 12, 2018
a77e1c9
Remove EB search api view
chrfritsch Mar 12, 2018
4d24654
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 12, 2018
5bbb4f4
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 12, 2018
efeaf52
Make search integration not enabled by default
chrfritsch Mar 13, 2018
c03410e
Fix config test
chrfritsch Mar 13, 2018
21d934a
Merge branch 'develop' of https://github.com/BurdaMagazinOrg/thunder-…
chrfritsch Mar 13, 2018
64c84ac
Add tests
chrfritsch Mar 13, 2018
ea686ac
[TEST_UPDATE=true] Trigger update test path
chrfritsch Mar 13, 2018
5ddb005
[TEST_UPDATE=true] Trigger update test path
chrfritsch Mar 13, 2018
c2c4d5f
Add config_selector UI
chrfritsch Mar 14, 2018
24877f9
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 15, 2018
778eebf
Add channel faces, update config_selector
chrfritsch Mar 15, 2018
cfdad76
Merge branch 'develop' into feature/2899254-integrate_editorial_searc…
chrfritsch Apr 3, 2018
341678a
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Apr 4, 2018
1147d01
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Apr 5, 2018
e56a4f8
Fix CS
chrfritsch Apr 5, 2018
245da54
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Apr 23, 2018
84242e8
Adding descriptions
chrfritsch Apr 23, 2018
3af291c
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
dbosen May 2, 2018
c3105fd
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Jul 25, 2018
0543e40
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Jul 25, 2018
4f25d1e
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Aug 2, 2018
0107f18
Fix configs
chrfritsch Aug 2, 2018
a695a6c
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Aug 27, 2018
1dece5a
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Sep 18, 2018
ae259a6
Update search api
chrfritsch Sep 19, 2018
df2d353
Use select2 widget
chrfritsch Sep 20, 2018
91d0d8e
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Oct 2, 2018
badfa1d
Add tags facet
chrfritsch Oct 4, 2018
3098241
Use select2 facet widget
chrfritsch Oct 10, 2018
467cef3
Add views bulk patch
chrfritsch Oct 17, 2018
8e64f41
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Oct 18, 2018
0c46aa7
Update facets
chrfritsch Oct 18, 2018
bf9e4ed
Fix CS
chrfritsch Oct 18, 2018
cea413c
Add dev branch of select2
chrfritsch Oct 18, 2018
eef4ee2
Cleanup
chrfritsch Oct 19, 2018
fc0beca
Show message
chrfritsch Oct 22, 2018
49c9122
WIP
chrfritsch Oct 23, 2018
10d6fd8
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
dbosen Oct 24, 2018
9b9daf7
Fix test
chrfritsch Oct 25, 2018
6038bd3
Fix InstalledConfigurationTest
chrfritsch Oct 25, 2018
08266a2
Add empty behavior text
chrfritsch Oct 25, 2018
4424823
Hide status facet without narrowing results
chrfritsch Oct 25, 2018
a30aded
Fix comments
chrfritsch Oct 29, 2018
8e95a3c
WIP
chrfritsch Oct 30, 2018
134c8ba
Add patches
chrfritsch Nov 6, 2018
00a17dc
Add patch to correct module
chrfritsch Nov 6, 2018
8029ecc
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Nov 6, 2018
9d9d072
Show numbers
chrfritsch Nov 6, 2018
d34f2bd
Change width
chrfritsch Nov 7, 2018
4e5fe5b
Cache views
chrfritsch Nov 7, 2018
a30a5f2
Update views
chrfritsch Nov 8, 2018
eaf714f
Remove empty behavior
chrfritsch Nov 8, 2018
98606a9
Add search_api_db as a soft dependency
chrfritsch Nov 9, 2018
7f2c832
Add new search api patch
chrfritsch Nov 12, 2018
64387ff
Update patch
chrfritsch Nov 12, 2018
d18e3e1
Activate query preserving
chrfritsch Nov 13, 2018
e5dafed
Add view classes
chrfritsch Nov 13, 2018
1bb3710
Fix patch path
chrfritsch Nov 13, 2018
af70c51
Show titles with config
chrfritsch Nov 14, 2018
7dd9b11
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
dbosen Nov 15, 2018
9468567
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
dbosen Nov 21, 2018
4cd7377
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Dec 13, 2018
28964ea
Kill thunder_search
chrfritsch Dec 13, 2018
6b10e70
Kill thunder_search leftovers
chrfritsch Dec 13, 2018
1c17ccb
Update search_api
chrfritsch Dec 13, 2018
119a25e
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Dec 13, 2018
4e917d0
Cleanup config
chrfritsch Dec 13, 2018
9df45a5
Update patches
chrfritsch Jan 7, 2019
e9cd588
Remove unneeded patch
chrfritsch Jan 7, 2019
bddd62b
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Jan 14, 2019
b25f2e8
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Jan 16, 2019
9d6eaa5
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
dbosen Jan 17, 2019
bddeb01
Add performance
chrfritsch Jan 17, 2019
84061fe
Add search_api view displays
chrfritsch Jan 17, 2019
18f272e
Fix tests
chrfritsch Jan 18, 2019
a2c30d1
Back to current core version
chrfritsch Jan 22, 2019
49ebf04
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
dbosen Jan 28, 2019
fccc075
Add facet item limits
chrfritsch Jan 29, 2019
91e4757
Add facets patxh
chrfritsch Jan 31, 2019
e374488
Remove media view
chrfritsch Feb 6, 2019
24015b1
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 6, 2019
99d97d4
Remove core patch
chrfritsch Feb 7, 2019
b083776
Use block building in our facet block
chrfritsch Feb 7, 2019
7d9f5eb
Simplify code
chrfritsch Feb 7, 2019
e3309fd
Render facet all the time
chrfritsch Feb 8, 2019
0549f61
Use facet blocks
chrfritsch Feb 8, 2019
49f7d44
Make select2 work
chrfritsch Feb 12, 2019
32ee3ce
Update facets
chrfritsch Feb 13, 2019
71250b6
Update patches
chrfritsch Feb 14, 2019
1f53f2f
New patch
chrfritsch Feb 18, 2019
da242f4
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 20, 2019
3354f4d
Add fulltext block
chrfritsch Feb 20, 2019
048aab8
Update patches
chrfritsch Feb 22, 2019
570e44f
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Feb 22, 2019
1a17609
Remove patch
chrfritsch Feb 25, 2019
2e56812
Remove committed patch
chrfritsch Feb 26, 2019
3f45b29
add search_api outdated items flagging
ol0lll Mar 6, 2019
c1e1b6d
Add data attr to search_api view output
ol0lll Mar 6, 2019
62c966e
Merge branch 'feature/2899254-integrate_editorial_search_with_search_…
ol0lll Mar 6, 2019
d9bf3ba
use combined patch to fix views caching
ol0lll Mar 6, 2019
26c83a1
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 19, 2019
c4d811a
move blocks to theme
ol0lll Mar 20, 2019
0bdb1bc
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 20, 2019
995e61a
Move to update helper
chrfritsch Mar 20, 2019
18474aa
Merge branch 'feature/2899254-integrate_editorial_search_with_search_…
ol0lll Mar 20, 2019
a06ab07
REVERT BEFORE COMMIT: switch to thunder_admin branch
ol0lll Mar 20, 2019
28f4efd
Revert "REVERT BEFORE COMMIT: switch to thunder_admin branch"
ol0lll Mar 20, 2019
0f0ef0d
REVERT BEFORE COMMIT: switch to thunder_admin branch using composer.json
ol0lll Mar 20, 2019
28bd98c
Fix composer.json
dbosen Mar 21, 2019
5b3c462
Fix branch
chrfritsch Mar 21, 2019
a097037
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 21, 2019
4cada2d
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch Mar 29, 2019
6885e12
Merge branch '8.x-2.x' of github.com:BurdaMagazinOrg/thunder-distribu…
ol0lll Apr 16, 2019
73aad0e
Merge branch '8.x-2.x' of github.com:BurdaMagazinOrg/thunder-distribu…
ol0lll May 6, 2019
1d31aac
use facets release
ol0lll May 7, 2019
01d3c0b
Merge branch '8.x-2.x' into feature/2899254-integrate_editorial_searc…
chrfritsch May 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ stages:

env:
global:
- THUNDER_ADMIN_BRANCH=8.x-2.x
- THUNDER_ADMIN_BRANCH=feature/3041804-layout_thunder_editorial_search_with_search_api

jobs:
include:
Expand Down
9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
"drupal/password_policy": {
"Policies should declare a config dependency on the plugin modules": "https://www.drupal.org/files/issues/2018-10-09/2918974-2.patch",
"Importing configuration on site without password_policy activated": "https://www.drupal.org/files/issues/2018-07-30/password_policy-config_import_field_error-2771129-57.patch"
},
"drupal/search_api": {
"SearchApiQuery does not implement getCacheTags()": "https://www.drupal.org/files/issues/2019-03-13/3034996-7.patch"
},
"drupal/select2": {
"Support for AJAX Facets": "https://patch-diff.githubusercontent.com/raw/thunder/select2/pull/54.patch"
}
}
},
Expand Down Expand Up @@ -109,6 +115,7 @@
"drupal/entity_browser": "1.7",
"drupal/entity_reference_revisions": "^1.0",
"drupal/fb_instant_articles": "^1.0",
"drupal/facets": "^1.0",
"drupal/field_group": "^1.0",
"drupal/focal_point": "^1.0",
"drupal/google_analytics": "^2.0",
Expand All @@ -135,6 +142,7 @@
"drupal/redirect": "^1.0",
"drupal/riddle_marketplace": "^2.0",
"drupal/scheduler": "1.0",
"drupal/search_api": "dev-1.x",
"drupal/scheduler_content_moderation_integration": "~1.0",
"drupal/select2": "^1.0",
"drupal/simple_sitemap": "^2.0",
Expand All @@ -145,6 +153,7 @@
"drupal/token": "^1.0",
"drupal/update_helper": "^1.0",
"drupal/video_embed_field": "^1.0",
"drupal/views_bulk_operations": "^2.4",
"drupal/views_load_more": "dev-1.x",
"valiton/harbourmaster": "~8.1",
"bower-asset/dropzone": "^5.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
enforced:
module:
- config_selector
id: thunder_content_view
label: 'Content view'
description: 'The main view for editing content'
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.search_index
- field.field.node.article.field_channel
- field.field.node.article.field_meta_tags
- field.field.node.article.field_paragraphs
- field.field.node.article.field_seo_title
- field.field.node.article.field_tags
- field.field.node.article.field_teaser_media
- field.field.node.article.field_teaser_text
- node.type.article
module:
- entity_reference_revisions
- user
id: node.article.search_index
targetEntityType: node
bundle: article
mode: search_index
content:
field_paragraphs:
type: entity_reference_revisions_entity_view
weight: 0
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
region: content
field_tags:
type: entity_reference_label
weight: 2
label: hidden
settings:
link: true
third_party_settings: { }
region: content
field_teaser_text:
type: basic_string
weight: 1
region: content
label: hidden
settings: { }
third_party_settings: { }
hidden:
content_moderation_control: true
field_channel: true
field_meta_tags: true
field_seo_title: true
field_teaser_media: true
langcode: true
links: true
shariff_field: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.search_index
- field.field.node.page.body
- node.type.page
module:
- text
- user
id: node.page.search_index
targetEntityType: node
bundle: page
mode: search_index
content:
body:
label: hidden
type: text_default
weight: 100
settings: { }
third_party_settings: { }
region: content
links:
weight: 101
region: content
hidden:
langcode: true
shariff_field: true
68 changes: 68 additions & 0 deletions config/optional/facets.facet.author.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.content
- views.view.content_search_api
module:
- search_api
id: author
name: Author
url_alias: author
weight: -2
min_count: 1
show_only_one_result: true
field_identifier: uid
facet_source_id: 'search_api:views_page__content_search_api__page_1'
widget:
type: select2
config:
show_numbers: true
width: resolve
autocomplete: false
match_operator: CONTAINS
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 20
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: -10
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: -10
settings:
sort: DESC
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: -10
settings:
sort: ASC
hide_1_result_facet:
processor_id: hide_1_result_facet
weights:
build: -10
settings: { }
uid_to_username_callback:
processor_id: uid_to_username_callback
weights:
build: 5
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: -10
build: -10
settings: { }
empty_behavior:
behavior: none
show_title: true
73 changes: 73 additions & 0 deletions config/optional/facets.facet.channel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.content
- views.view.content_search_api
module:
- search_api
id: channel
name: Channel
url_alias: channel
weight: -4
min_count: 0
show_only_one_result: true
field_identifier: field_channel
facet_source_id: 'search_api:views_page__content_search_api__page_1'
widget:
type: select2
config:
show_numbers: true
width: resolve
autocomplete: false
match_operator: CONTAINS
query_operator: and
use_hierarchy: true
expand_hierarchy: true
enable_parent_when_child_gets_disabled: true
hard_limit: 250
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: -10
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: -10
settings:
sort: DESC
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: -10
settings:
sort: ASC
hide_1_result_facet:
processor_id: hide_1_result_facet
weights:
build: -10
settings: { }
hide_non_narrowing_result_processor:
processor_id: hide_non_narrowing_result_processor
weights:
build: 40
settings: { }
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
show_title: true
52 changes: 52 additions & 0 deletions config/optional/facets.facet.promoted_to_front_page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.content
- views.view.content_search_api
module:
- search_api
id: promoted_to_front_page
name: Promoted
url_alias: promoted_to_front_page
weight: 1
min_count: 1
show_only_one_result: true
field_identifier: promote
facet_source_id: 'search_api:views_page__content_search_api__page_1'
widget:
type: select2
config:
show_numbers: true
width: resolve
autocomplete: false
match_operator: CONTAINS
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 3
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
boolean_item:
processor_id: boolean_item
weights:
build: -10
settings:
on_value: 'Yes'
off_value: 'No'
hide_1_result_facet:
processor_id: hide_1_result_facet
weights:
build: -10
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: -10
build: -10
settings: { }
empty_behavior:
behavior: none
show_title: true
57 changes: 57 additions & 0 deletions config/optional/facets.facet.status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.content
- views.view.content_search_api
module:
- search_api
id: status
name: Status
url_alias: status
weight: 0
min_count: 1
show_only_one_result: true
field_identifier: status
facet_source_id: 'search_api:views_page__content_search_api__page_1'
widget:
type: select2
config:
show_numbers: true
width: resolve
autocomplete: false
match_operator: CONTAINS
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
hard_limit: 3
exclude: false
only_visible_when_facet_source_is_visible: true
processor_configs:
boolean_item:
processor_id: boolean_item
weights:
build: -10
settings:
on_value: Published
off_value: Unpublished
hide_1_result_facet:
processor_id: hide_1_result_facet
weights:
build: -10
settings: { }
hide_non_narrowing_result_processor:
processor_id: hide_non_narrowing_result_processor
weights:
build: 40
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: -10
build: -10
settings: { }
empty_behavior:
behavior: none
show_title: true
Loading