From a590df1e27bf05358e558c3dc18df772b24000c2 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Tue, 6 Feb 2024 11:57:44 -0800 Subject: [PATCH] Apply automatic updates to views --- config/views.view.article.yml | 177 ++++++++++++------------ config/views.view.blog.yml | 189 +++++++++++++------------- config/views.view.event.yml | 240 +++++++++++++++++---------------- config/views.view.resource.yml | 189 +++++++++++++------------- 4 files changed, 416 insertions(+), 379 deletions(-) diff --git a/config/views.view.article.yml b/config/views.view.article.yml index 0df57af..9814385 100644 --- a/config/views.view.article.yml +++ b/config/views.view.article.yml @@ -19,74 +19,23 @@ base_table: search_api_index_article base_field: search_api_id display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'access content' - cache: - type: none - options: { } - query: - type: search_api_query - options: - bypass_access: false - skip_access: false - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 12 - offset: 0 - id: 0 - total_pages: null - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - tags: - previous: ‹‹ - next: ›› - style: - type: default - options: - row_class: '' - default_row_class: false - uses_fields: false - row: - type: search_api - options: - view_modes: - 'entity:node': - article: card + title: Articles fields: rendered_item: + id: rendered_item table: search_api_index_article field: rendered_item - id: rendered_item - entity_type: null - entity_field: null - plugin_id: search_api relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: null + plugin_id: search_api label: '' exclude: false alter: @@ -132,7 +81,42 @@ display: use_highlighting: false multi_type: separator multi_separator: ', ' - filters: { } + pager: + type: mini + options: + offset: 0 + items_per_page: 12 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: none + options: { } + empty: { } sorts: sticky: id: sticky @@ -141,11 +125,11 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api + exposed: false created: id: created table: search_api_index_article @@ -153,60 +137,82 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api - title: Articles + exposed: false + arguments: { } + filters: { } + style: + type: default + options: + row_class: '' + default_row_class: false + uses_fields: false + row: + type: search_api + options: + view_modes: + 'entity:node': + article: card + query: + type: search_api_query + options: + bypass_access: false + skip_access: false + relationships: { } header: { } footer: { } - empty: { } - relationships: { } - arguments: { } display_extenders: { } cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.article' + - 'search_api_list:article' block_promoted: - display_plugin: block id: block_promoted display_title: 'Block Promoted' + display_plugin: block position: 2 display_options: - display_extenders: { } title: Latest - defaults: - title: false - style: true - row: true - pager: false - link_display: false - link_url: false pager: type: some options: - items_per_page: 4 offset: 0 + items_per_page: 4 + defaults: + title: false + pager: false + link_display: false + link_url: false + style: true + row: true display_description: '' - block_description: 'Promoted articles' link_display: page_1 link_url: '' + display_extenders: { } + block_description: 'Promoted articles' block_hide_empty: true cache_metadata: max-age: -1 contexts: - 'languages:language_interface' + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.article' + - 'search_api_list:article' page_listing: - display_plugin: page id: page_listing display_title: Page + display_plugin: page position: 1 display_options: display_extenders: { } @@ -215,15 +221,18 @@ display: type: normal title: News description: 'Keep up to date.' + weight: -49 expanded: false - parent: 'menu_link_content:3f594be0-bb0f-4b30-923e-e7984983a0fd' - weight: 0 - context: '0' menu_name: main + parent: 'menu_link_content:3f594be0-bb0f-4b30-923e-e7984983a0fd' + context: '0' cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.article' + - 'search_api_list:article' diff --git a/config/views.view.blog.yml b/config/views.view.blog.yml index d955711..85c5ef9 100644 --- a/config/views.view.blog.yml +++ b/config/views.view.blog.yml @@ -19,74 +19,23 @@ base_table: search_api_index_blog base_field: search_api_id display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'access content' - cache: - type: none - options: { } - query: - type: search_api_query - options: - bypass_access: false - skip_access: false - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 12 - offset: 0 - id: 0 - total_pages: null - tags: - previous: ‹‹ - next: ›› - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - style: - type: default - options: - grouping: { } - row_class: '' - default_row_class: false - row: - type: search_api - options: - view_modes: - 'entity:node': - blog: card + title: Blog fields: rendered_item: + id: rendered_item table: search_api_index_blog field: rendered_item - id: rendered_item - entity_type: null - entity_field: null - plugin_id: search_api relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: null + plugin_id: search_api label: '' exclude: false alter: @@ -132,7 +81,42 @@ display: use_highlighting: false multi_type: separator multi_separator: ', ' - filters: { } + pager: + type: mini + options: + offset: 0 + items_per_page: 12 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: none + options: { } + empty: { } sorts: sticky: id: sticky @@ -141,11 +125,11 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api + exposed: false created: id: created table: search_api_index_blog @@ -153,36 +137,58 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api - header: { } - footer: { } - empty: { } - relationships: { } + exposed: false arguments: { } - display_extenders: { } - title: Blog + filters: { } filter_groups: operator: AND groups: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: false + row: + type: search_api + options: + view_modes: + 'entity:node': + blog: card + query: + type: search_api_query + options: + bypass_access: false + skip_access: false + relationships: { } + header: { } + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.blog' + - 'search_api_list:blog' block_promoted: - display_plugin: block id: block_promoted display_title: 'Block Promoted' + display_plugin: block position: 2 display_options: - display_extenders: { } - display_description: '' + pager: + type: some + options: + offset: 0 + items_per_page: 4 filters: promote: id: promote @@ -191,6 +197,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api_boolean operator: '=' value: '1' group: 1 @@ -201,14 +208,14 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - operator_limit_selection: false - operator_list: { } is_grouped: false group_info: label: '' @@ -221,31 +228,30 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: search_api_boolean - defaults: - filters: false - filter_groups: false - pager: false filter_groups: operator: AND groups: 1: AND - pager: - type: some - options: - items_per_page: 4 - offset: 0 + defaults: + pager: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } block_hide_empty: true cache_metadata: max-age: -1 contexts: - 'languages:language_interface' + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.blog' + - 'search_api_list:blog' page_listing: - display_plugin: page id: page_listing display_title: Page + display_plugin: page position: 1 display_options: display_extenders: { } @@ -254,15 +260,18 @@ display: type: normal title: Blog description: 'Follow our blogs.' + weight: -50 expanded: false - parent: 'menu_link_content:3f594be0-bb0f-4b30-923e-e7984983a0fd' - weight: 0 - context: '0' menu_name: main + parent: 'menu_link_content:3f594be0-bb0f-4b30-923e-e7984983a0fd' + context: '0' cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.blog' + - 'search_api_list:blog' diff --git a/config/views.view.event.yml b/config/views.view.event.yml index 8a58857..327b0fc 100644 --- a/config/views.view.event.yml +++ b/config/views.view.event.yml @@ -19,74 +19,23 @@ base_table: search_api_index_event base_field: search_api_id display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'access content' - cache: - type: none - options: { } - query: - type: search_api_query - options: - bypass_access: false - skip_access: false - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - tags: - previous: ‹‹ - next: ›› - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - style: - type: default - options: - grouping: { } - row_class: '' - default_row_class: false - row: - type: search_api - options: - view_modes: - 'entity:node': - event: teaser + title: Events fields: rendered_item: + id: rendered_item table: search_api_index_event field: rendered_item - id: rendered_item - entity_type: null - entity_field: null - plugin_id: search_api relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: null + plugin_id: search_api label: '' exclude: false alter: @@ -132,7 +81,42 @@ display: use_highlighting: false multi_type: separator multi_separator: ', ' - filters: { } + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: none + options: { } + empty: { } sorts: sticky: id: sticky @@ -141,11 +125,11 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api + exposed: false field_event_date: id: field_event_date table: search_api_index_event @@ -153,33 +137,69 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api + exposed: false + arguments: { } + filters: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: false + row: + type: search_api + options: + view_modes: + 'entity:node': + event: teaser + query: + type: search_api_query + options: + bypass_access: false + skip_access: false + relationships: { } header: { } footer: { } - empty: { } - relationships: { } - arguments: { } display_extenders: { } - title: Events cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.event' + - 'search_api_list:event' block_upcoming: - display_plugin: block id: block_upcoming display_title: 'Block Upcoming' + display_plugin: block position: 2 display_options: - display_extenders: { } - display_description: '' + title: 'Upcoming events' + pager: + type: some + options: + offset: 0 + items_per_page: 5 + sorts: + field_event_date: + id: field_event_date + table: search_api_index_event + field: field_event_date + relationship: none + group_type: group + admin_label: '' + plugin_id: search_api + order: ASC + expose: + label: '' + exposed: false filters: field_event_date: id: field_event_date @@ -188,6 +208,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api_date operator: '>=' value: min: '' @@ -202,17 +223,17 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - placeholder: '' min_placeholder: '' max_placeholder: '' - operator_limit_selection: false - operator_list: { } + placeholder: '' is_grouped: false group_info: label: '' @@ -225,45 +246,10 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: search_api_date - defaults: - filters: false - filter_groups: false - sorts: false - title: false - pager: false - use_more: false - use_more_always: false - use_more_text: false - style: false - row: false filter_groups: operator: AND groups: 1: AND - sorts: - field_event_date: - id: field_event_date - table: search_api_index_event - field: field_event_date - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: false - expose: - label: '' - plugin_id: search_api - title: 'Upcoming events' - pager: - type: some - options: - items_per_page: 5 - offset: 0 - block_hide_empty: true - use_more: true - use_more_always: false - use_more_text: More style: type: default options: @@ -276,33 +262,57 @@ display: view_modes: 'entity:node': event: micro + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + style: false + row: false + sorts: false + filters: false + filter_groups: false + display_description: '' + use_more: true + use_more_always: false + use_more_text: More + display_extenders: { } + block_hide_empty: true cache_metadata: max-age: -1 contexts: - 'languages:language_interface' + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.event' + - 'search_api_list:event' page_listing: - display_plugin: page id: page_listing display_title: Page + display_plugin: page position: 1 display_options: display_extenders: { } path: events menu: type: normal - title: Events + title: 'Scheduled Group Tours' description: 'See a listing of our events.' + weight: -49 + enabled: true expanded: false - parent: 'menu_link_content:f1eaa438-620d-418b-acd3-ad00dab9c635' - weight: 0 - context: '0' menu_name: main + parent: 'menu_link_content:33435872-bdbe-4833-9477-c057c2c33359' + context: '0' cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.event' + - 'search_api_list:event' diff --git a/config/views.view.resource.yml b/config/views.view.resource.yml index 2f47d86..2098c4d 100644 --- a/config/views.view.resource.yml +++ b/config/views.view.resource.yml @@ -19,74 +19,23 @@ base_table: search_api_index_resource base_field: search_api_id display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'access content' - cache: - type: none - options: { } - query: - type: search_api_query - options: - bypass_access: false - skip_access: false - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 12 - offset: 0 - id: 0 - total_pages: null - tags: - previous: ‹‹ - next: ›› - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - style: - type: default - options: - row_class: '' - default_row_class: false - uses_fields: false - row: - type: search_api - options: - view_modes: - 'entity:node': - resource: card + title: Resources fields: rendered_item: + id: rendered_item table: search_api_index_resource field: rendered_item - id: rendered_item - entity_type: null - entity_field: null - plugin_id: search_api relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: null + plugin_id: search_api label: '' exclude: false alter: @@ -132,7 +81,42 @@ display: use_highlighting: false multi_type: separator multi_separator: ', ' - filters: { } + pager: + type: mini + options: + offset: 0 + items_per_page: 12 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: none + options: { } + empty: { } sorts: sticky: id: sticky @@ -141,11 +125,11 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api + exposed: false created: id: created table: search_api_index_resource @@ -153,45 +137,58 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api order: DESC - exposed: false expose: label: '' - plugin_id: search_api - header: { } - footer: { } - empty: { } - relationships: { } + exposed: false arguments: { } - display_extenders: { } - title: Resources + filters: { } filter_groups: operator: AND groups: { } + style: + type: default + options: + row_class: '' + default_row_class: false + uses_fields: false + row: + type: search_api + options: + view_modes: + 'entity:node': + resource: card + query: + type: search_api_query + options: + bypass_access: false + skip_access: false + relationships: { } + header: { } + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.resource' + - 'search_api_list:resource' block_promoted: - display_plugin: block id: block_promoted display_title: 'Block Promoted' + display_plugin: block position: 2 display_options: - display_extenders: { } pager: type: some options: - items_per_page: 4 offset: 0 - defaults: - pager: false - filters: false - filter_groups: false - display_description: '' + items_per_page: 4 filters: promote: id: promote @@ -200,6 +197,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api_boolean operator: '=' value: '1' group: 1 @@ -210,14 +208,14 @@ display: description: '' use_operator: false operator: '' + operator_limit_selection: false + operator_list: { } identifier: '' required: false remember: false multiple: false remember_roles: authenticated: authenticated - operator_limit_selection: false - operator_list: { } is_grouped: false group_info: label: '' @@ -230,43 +228,54 @@ display: default_group: All default_group_multiple: { } group_items: { } - plugin_id: search_api_boolean filter_groups: operator: AND groups: 1: AND + defaults: + pager: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } block_hide_empty: true cache_metadata: max-age: -1 contexts: - 'languages:language_interface' + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.resource' + - 'search_api_list:resource' page_listing: - display_plugin: page id: page_listing display_title: Page + display_plugin: page position: 1 display_options: + cache: + type: none + defaults: + cache: false display_extenders: { } path: resources menu: type: normal title: Resources description: 'Get connected with our resources.' + weight: -48 expanded: false - parent: 'menu_link_content:3f594be0-bb0f-4b30-923e-e7984983a0fd' - weight: 0 - context: '0' menu_name: main - cache: - type: none - defaults: - cache: false + parent: 'menu_link_content:3f594be0-bb0f-4b30-923e-e7984983a0fd' + context: '0' cache_metadata: max-age: -1 contexts: - 'languages:language_interface' - url.query_args + - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:search_api.index.resource' + - 'search_api_list:resource'