From 4dab41e9121e457a0672869b34052f49cdf29901 Mon Sep 17 00:00:00 2001 From: Maria Fisher Date: Wed, 17 Nov 2021 10:09:43 -0800 Subject: [PATCH 1/3] Using the 2.x branch of arg sort order. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c18788e85..5324976ed 100644 --- a/composer.json +++ b/composer.json @@ -180,7 +180,7 @@ "drupal/token_filter": "^1.2", "drupal/twig_tweak": "^2.6", "drupal/viewfield": "^3.0@beta", - "drupal/views_arg_order_sort": "1.x-dev", + "drupal/views_arg_order_sort": "^2.0@alpha", "drupal/views_autosubmit": "^1.3", "drupal/views_bulk_edit": "^2.4", "drupal/views_bulk_operations": "^3.9", From f02fd6d49c43be64ba998445dd690ece8d986c30 Mon Sep 17 00:00:00 2001 From: Maria Fisher Date: Wed, 17 Nov 2021 10:22:26 -0800 Subject: [PATCH 2/3] Lock to an older version of views_arg_order_sort. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5324976ed..93e75ec10 100644 --- a/composer.json +++ b/composer.json @@ -180,7 +180,7 @@ "drupal/token_filter": "^1.2", "drupal/twig_tweak": "^2.6", "drupal/viewfield": "^3.0@beta", - "drupal/views_arg_order_sort": "^2.0@alpha", + "drupal/views_arg_order_sort": "dev-1.x#5d13cfca5749294d127ebc06348827f775342b37", "drupal/views_autosubmit": "^1.3", "drupal/views_bulk_edit": "^2.4", "drupal/views_bulk_operations": "^3.9", From 71e1e4d812d76f4bcbae3dcf80293b178fda9416 Mon Sep 17 00:00:00 2001 From: Maria Fisher Date: Wed, 17 Nov 2021 11:43:08 -0800 Subject: [PATCH 3/3] Adds the language argument to the 3+1 view so it shows related content. --- .../config/install/views.view.3_1.yml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/modules/wri_31block/config/install/views.view.3_1.yml b/modules/wri_31block/config/install/views.view.3_1.yml index 403a9cc20..2938f3451 100644 --- a/modules/wri_31block/config/install/views.view.3_1.yml +++ b/modules/wri_31block/config/install/views.view.3_1.yml @@ -173,6 +173,48 @@ display: entity_type: node entity_field: type plugin_id: bundle + langcode: + id: langcode + table: node_field_data + field: langcode + relationship: none + group_type: group + admin_label: '' + operator: in + value: + '***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + 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: { } + entity_type: node + entity_field: langcode + plugin_id: language sorts: weight: id: weight