From 1d3b9cd2ebc30a75863f08205b2c058980640553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Fri, 18 Jan 2019 17:42:29 -0500 Subject: [PATCH] Remove language code from filtering on taxonomy term listings Ref #159 --- config/sync/views.view.taxonomy_term.yml | 83 ++++++++++++------------ 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/config/sync/views.view.taxonomy_term.yml b/config/sync/views.view.taxonomy_term.yml index a1182a1..cfde60e 100644 --- a/config/sync/views.view.taxonomy_term.yml +++ b/config/sync/views.view.taxonomy_term.yml @@ -142,46 +142,6 @@ display: reduce_duplicates: false plugin_id: taxonomy_index_tid filters: - langcode: - id: langcode - table: node_field_data - field: langcode - relationship: none - group_type: group - admin_label: '' - operator: in - value: - '***LANGUAGE_language_content***': '***LANGUAGE_language_content***' - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - reduce: false - 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: language - entity_type: node - entity_field: langcode status: id: status table: taxonomy_index @@ -677,6 +637,8 @@ display: defaults: fields: false relationships: false + filters: false + filter_groups: false relationships: nid: id: nid @@ -687,6 +649,47 @@ display: admin_label: node required: true plugin_id: standard + filters: + status: + id: status + table: taxonomy_index + field: status + 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: boolean + filter_groups: + operator: AND + groups: + 1: AND cache_metadata: contexts: - 'languages:language_content'