Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-6579: Facets summary Search view.
Browse files Browse the repository at this point in the history
  • Loading branch information
saidatom committed Sep 27, 2021
1 parent b0162d7 commit a226e7a
Show file tree
Hide file tree
Showing 17 changed files with 439 additions and 78 deletions.
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"drupal/video_embed_field": "~1.6",
"drupal/view_unpublished": "^1.0",
"drupal/views_autosubmit": "^1.2",
"drupal/views_block_area": "^1.0@beta",
"drupal/views_bulk_operations": "^2.6",
"drupal/views_data_export": "^1.0",
"drush/drush": "~10.3",
Expand Down Expand Up @@ -349,6 +350,9 @@
"drupal/views_autosubmit": {
"The views plugin options are missing schema @see https://www.drupal.org/i/3195213": "https://git.drupalcode.org/project/views_autosubmit/-/merge_requests/2.diff"
},
"drupal/views_block_area": {
"Views block area missing schema @see https://www.drupal.org/project/views_block_area/issues/3157188": "https://www.drupal.org/files/issues/2020-07-06/views_block_area-missing_schema-3157188-2.patch"
},
"openeuropa/oe_webtools": {
"Allow to pass an optional referer. @see https://github.com/openeuropa/oe_webtools/pull/96": "https://patch-diff.githubusercontent.com/raw/openeuropa/oe_webtools/pull/96.diff",
"Place the webtools loader on the head. @see https://github.com/openeuropa/oe_webtools/pull/102": "https://patch-diff.githubusercontent.com/raw/openeuropa/oe_webtools/pull/102.diff",
Expand Down
64 changes: 60 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module:
eu_sic: 0
eupl: 0
facets: 0
facets_summary: 0
field: 0
field_delimiter: 0
field_group: 0
Expand Down Expand Up @@ -193,6 +194,7 @@ module:
video_embed_wysiwyg: 0
view_unpublished: 0
views_autosubmit: 0
views_block_area: 0
views_bulk_operations: 0
views_data_export: 0
whats_new: 0
Expand Down
2 changes: 1 addition & 1 deletion config/sync/facets.facet.topic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ widget:
query_operator: or
use_hierarchy: false
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
enable_parent_when_child_gets_disabled: false
hard_limit: 0
exclude: false
only_visible_when_facet_source_is_visible: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
uuid: 0a4c553f-2c75-4e3c-9d41-68bc0043edd9
langcode: en
status: true
dependencies:
config:
- search_api.index.published
- views.view.search
module:
- search_api
id: search_facets_summary
name: 'Search facets summary'
facets:
group:
checked: true
label: Collection/Solution
separator: ', '
weight: 0
show_count: false
spatial_coverage:
checked: true
label: 'Geographic coverage'
separator: ', '
weight: 0
show_count: false
topic:
checked: true
label: Topic
separator: ', '
weight: 0
show_count: false
type:
checked: true
label: Type
separator: ', '
weight: 0
show_count: false
facet_source_id: 'search_api:views_page__search__page_1'
processor_configs:
hide_when_not_rendered:
processor_id: hide_when_not_rendered
weights:
build: '45'
settings: { }
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,7 @@ settings:
media:
handler: 'default:media'
handler_settings: { }
facets_summary:
handler: 'default:facets_summary'
handler_settings: { }
field_type: dynamic_entity_reference
117 changes: 95 additions & 22 deletions config/sync/filter.format.essential_html.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,140 @@
uuid: 5e41fc3f-ac9f-4211-89b9-b4052f4eda6e
uuid: 66d0b8e4-98a3-45d1-8091-b96a313046cb
langcode: en
status: true
dependencies:
config:
- image.style.wysiwyg_full_width
- image.style.wysiwyg_half_width
- image.style.wysiwyg_one_third_width
module:
- collection
- editor
- embed_block
- image
- joinup_video
- linkit
- media
_core:
default_config_hash: _EOmoFGHhTjV4rORLrzpQZv9C6rnPb8LVLDoNMqBz7Us
name: 'Essential HTML'
format: essential_html
weight: 0
- video_embed_wysiwyg
name: 'Simple HTML'
format: simple_html
weight: 3
filters:
filter_url:
id: filter_url
provider: filter
status: true
weight: -49
weight: -50
settings:
filter_url_length: 72
filter_html:
id: filter_html
provider: filter
status: true
weight: -48
weight: -49
settings:
allowed_html: '<a href hreflang> <em> <i> <strong> <b> <br> <p>'
allowed_html: '<a href hreflang> <em> <i> <strong> <b> <br> <p> <ul> <li> <ol> <blockquote> <q> <img src alt data-entity-type data-entity-uuid data-image-style>'
filter_html_help: false
filter_html_nofollow: true
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: -48
settings: { }
collection_glossary:
id: collection_glossary
provider: collection
status: false
weight: -43
settings: { }
editor_file_reference:
id: editor_file_reference
provider: editor
status: true
weight: -46
settings: { }
embed_block:
id: embed_block
provider: embed_block
status: false
weight: -42
settings: { }
filter_html_image_secure:
id: filter_html_image_secure
provider: filter
status: true
weight: -47
settings: { }
filter_html_escape:
id: filter_html_escape
provider: filter
status: false
weight: -44
settings: { }
filter_caption:
id: filter_caption
provider: filter
status: false
weight: -39
settings: { }
filter_align:
id: filter_align
provider: filter
status: false
weight: -41
settings: { }
filter_autop:
id: filter_autop
provider: filter
status: false
weight: -40
settings: { }
filter_image_style:
id: filter_image_style
provider: image
status: true
weight: -45
settings:
allowed_styles:
- wysiwyg_full_width
- wysiwyg_half_width
- wysiwyg_one_third_width
joinup_video:
id: joinup_video
provider: joinup_video
status: false
weight: 0
weight: -38
settings:
allowed_providers:
joinup_ec_video: 0
internal_path: 0
google_docs: 0
prezi: 0
slideshare: 0
vimeo: 0
youtube: 0
prezi: 0
joinup_ec_video: 0
google_docs: 0
youtube_playlist: 0
youtube: 0
vimeo: 0
autoplay: false
responsive: true
collection_glossary:
id: collection_glossary
provider: collection
status: true
weight: 0
settings: { }
linkit:
id: linkit
provider: linkit
status: false
weight: -37
settings:
title: true
media_embed:
id: media_embed
provider: media
status: false
weight: 100
weight: -35
settings:
default_view_mode: default
allowed_media_types: { }
allowed_view_modes: { }
video_embed_wysiwyg:
id: video_embed_wysiwyg
provider: video_embed_wysiwyg
status: false
weight: -36
settings: { }
Loading

0 comments on commit a226e7a

Please sign in to comment.