From cf18c7d588fec6f3078d8c5baceeb8716aad2040 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Thu, 27 Dec 2018 09:21:16 -0700 Subject: [PATCH] Update Case Study view to show only promoted items on homepage --- config/sync/views.view.case_study.yml | 78 +++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/config/sync/views.view.case_study.yml b/config/sync/views.view.case_study.yml index 7061d26..d9a01d9 100644 --- a/config/sync/views.view.case_study.yml +++ b/config/sync/views.view.case_study.yml @@ -189,6 +189,8 @@ display: use_more: false use_more_always: false use_more_text: false + filters: false + filter_groups: false pager: type: some options: @@ -198,6 +200,82 @@ display: use_more: true use_more_always: true use_more_text: more + filters: + promote: + id: promote + table: search_api_index_case_study + field: promote + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: search_api_boolean + filter_groups: + operator: AND + groups: + 1: AND + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + tags: { } + block_work: + display_plugin: block + id: block_work + display_title: Work + position: 2 + display_options: + display_extenders: { } + title: Work + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + filters: false + filter_groups: false + pager: + type: none + options: + offset: 0 + display_description: '' + use_more: false + use_more_always: true + use_more_text: more + filters: { } + filter_groups: + operator: AND + groups: + 1: AND cache_metadata: max-age: -1 contexts: