From 7ad9d8356d382b82462331fd98686ea7384680d6 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:15:12 -0400 Subject: [PATCH 01/12] Update core views --- .../config/install/views.view.az_events.yml | 19 +- .../views.view.az_page_by_category.yml | 249 ++++++++++-------- .../config/install/views.view.az_news.yml | 47 ++-- .../config/install/views.view.az_person.yml | 75 ++++++ 4 files changed, 240 insertions(+), 150 deletions(-) diff --git a/modules/custom/az_event/config/install/views.view.az_events.yml b/modules/custom/az_event/config/install/views.view.az_events.yml index 12e0ab9b44..83b0ec0d46 100644 --- a/modules/custom/az_event/config/install/views.view.az_events.yml +++ b/modules/custom/az_event/config/install/views.view.az_events.yml @@ -91,6 +91,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 10 total_pages: null id: 0 @@ -108,7 +109,6 @@ display: offset: false offset_label: Offset quantity: 3 - pagination_heading_level: h4 exposed_form: type: basic options: @@ -141,6 +141,21 @@ display: format: az_standard tokenize: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false field_az_event_date_value: id: field_az_event_date_value table: node__field_az_event_date @@ -437,6 +452,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 12 total_pages: null id: 0 @@ -454,7 +470,6 @@ display: offset: false offset_label: Offset quantity: 9 - pagination_heading_level: h4 sorts: field_az_event_date_value: id: field_az_event_date_value diff --git a/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml b/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml index 7eebedb51d..2db7d13241 100644 --- a/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml +++ b/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml @@ -22,73 +22,12 @@ base_table: node_field_data base_field: nid 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: tag - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - 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: full - options: - items_per_page: 50 - offset: 0 - id: 0 - total_pages: null - tags: - previous: '‹ Previous' - next: 'Next ›' - first: '« First' - last: 'Last »' - 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 - quantity: 9 - pagination_heading_level: h4 - style: - type: default - options: - grouping: - - - field: field_az_page_category - rendered: true - rendered_strip: true - row_class: '' - default_row_class: false - uses_fields: true - row: - type: 'entity:node' - options: - view_mode: teaser + title: '' fields: field_az_page_category: id: field_az_page_category @@ -97,6 +36,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -152,34 +92,62 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field - filters: - status: - value: '1' - table: node_field_data - field: status - plugin_id: boolean - entity_type: node - entity_field: status - id: status + pager: + type: full + options: + offset: 0 + pagination_heading_level: h4 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + first: '« First' + last: 'Last »' expose: - operator: '' - operator_limit_selection: false - operator_list: { } - group: 1 - type: - id: type + 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 + quantity: 9 + 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: tag + options: { } + empty: { } + sorts: + sticky: + id: sticky table: node_field_data - field: type - value: - az_flexible_page: az_flexible_page + field: sticky + relationship: none + group_type: group + admin_label: '' entity_type: node - entity_field: type - plugin_id: bundle + entity_field: sticky + plugin_id: standard + order: DESC expose: - operator_limit_selection: false - operator_list: { } - sorts: + label: '' + field_identifier: '' + exposed: false title: id: title table: node_field_data @@ -187,19 +155,14 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard order: ASC - exposed: false expose: label: '' field_identifier: title - entity_type: node - entity_field: title - plugin_id: standard - title: '' - header: { } - footer: { } - empty: { } - relationships: { } + exposed: false arguments: tid: id: tid @@ -208,6 +171,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: taxonomy_index_tid default_action: ignore exception: value: all @@ -221,8 +185,8 @@ display: summary_options: base_path: '' count: true - items_per_page: 25 override: false + items_per_page: 25 summary: sort_order: asc number_of_records: 0 @@ -234,16 +198,67 @@ display: validate_options: bundles: az_page_categories: az_page_categories + access: false operation: view multiple: 1 - access: false break_phrase: true add_table: false require_value: false reduce_duplicates: true - plugin_id: taxonomy_index_tid - display_extenders: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_flexible_page: az_flexible_page + expose: + operator_limit_selection: false + operator_list: { } + style: + type: default + options: + grouping: + - + field: field_az_page_category + rendered: true + rendered_strip: true + row_class: '' + default_row_class: false + uses_fields: true + row: + type: 'entity:node' + options: + view_mode: teaser + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } group_by: false + header: { } + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -256,13 +271,11 @@ display: tags: - 'config:field.storage.node.field_az_page_category' grid: - display_plugin: page id: grid display_title: 'Grid Page' + display_plugin: page position: 2 display_options: - display_extenders: { } - display_description: '' style: type: views_bootstrap_grid options: @@ -275,16 +288,18 @@ display: col_md: col-md-4 col_lg: col-lg-4 col_xl: col-xl-4 - defaults: - style: false - row: false - style_options: false row: type: 'entity:node' options: relationship: none view_mode: az_card + defaults: + style: false + style_options: false + row: false + display_description: '' style_options: null + display_extenders: { } path: page-grid cache_metadata: max-age: -1 @@ -298,32 +313,32 @@ display: tags: - 'config:field.storage.node.field_az_page_category' row: - display_plugin: page id: row display_title: 'Row Page' + display_plugin: page position: 1 display_options: - display_extenders: { } - path: page-list - display_description: '' style: type: default options: row_class: '' default_row_class: false uses_fields: false - defaults: - css_class: false - style: false - row: false - style_options: false - css_class: add-pager-top-margin row: type: 'entity:node' options: relationship: none view_mode: az_row + defaults: + css_class: false + style: false + style_options: false + row: false + css_class: add-pager-top-margin + display_description: '' style_options: null + display_extenders: { } + path: page-list cache_metadata: max-age: -1 contexts: diff --git a/modules/custom/az_news/config/install/views.view.az_news.yml b/modules/custom/az_news/config/install/views.view.az_news.yml index 5a7602780c..068faeb82b 100644 --- a/modules/custom/az_news/config/install/views.view.az_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_news.yml @@ -122,6 +122,21 @@ display: options: { } empty: { } sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: sticky + exposed: false field_az_published_value: id: field_az_published_value table: node__field_az_published @@ -263,36 +278,6 @@ display: options: offset: 0 items_per_page: 1 - sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: sticky - exposed: false - field_az_published_value: - id: field_az_published_value - table: node__field_az_published - field: field_az_published_value - relationship: none - group_type: group - admin_label: '' - plugin_id: datetime - order: DESC - expose: - label: '' - field_identifier: field_az_published_value - exposed: false - granularity: second style: type: default options: @@ -309,7 +294,7 @@ display: style: false style_options: false row: false - sorts: false + sorts: true pager_options: false display_description: '' pager_options: null diff --git a/modules/custom/az_person/config/install/views.view.az_person.yml b/modules/custom/az_person/config/install/views.view.az_person.yml index 027c5e32fc..14bfba2534 100644 --- a/modules/custom/az_person/config/install/views.view.az_person.yml +++ b/modules/custom/az_person/config/install/views.view.az_person.yml @@ -377,6 +377,21 @@ display: separator: ', ' field_api_classes: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false weight: id: weight table: draggableviews_structure @@ -530,6 +545,21 @@ display: separator: ', ' field_api_classes: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false weight: id: weight table: draggableviews_structure @@ -1469,6 +1499,21 @@ display: empty_zero: false hide_alter_empty: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false weight: id: weight table: draggableviews_structure @@ -2417,6 +2462,21 @@ display: empty_zero: false hide_alter_empty: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false weight: id: weight table: draggableviews_structure @@ -2514,6 +2574,21 @@ display: position: 3 display_options: sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false weight: id: weight table: draggableviews_structure From 945952793c636718cc7b37881b3b497a384cd7e7 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Fri, 1 Nov 2024 10:37:56 -0400 Subject: [PATCH 02/12] Revert "Update core views" This reverts commit 7ad9d8356d382b82462331fd98686ea7384680d6. --- .../config/install/views.view.az_events.yml | 19 +- .../views.view.az_page_by_category.yml | 249 ++++++++---------- .../config/install/views.view.az_news.yml | 47 ++-- .../config/install/views.view.az_person.yml | 75 ------ 4 files changed, 150 insertions(+), 240 deletions(-) diff --git a/modules/custom/az_event/config/install/views.view.az_events.yml b/modules/custom/az_event/config/install/views.view.az_events.yml index 83b0ec0d46..12e0ab9b44 100644 --- a/modules/custom/az_event/config/install/views.view.az_events.yml +++ b/modules/custom/az_event/config/install/views.view.az_events.yml @@ -91,7 +91,6 @@ display: type: full options: offset: 0 - pagination_heading_level: h4 items_per_page: 10 total_pages: null id: 0 @@ -109,6 +108,7 @@ display: offset: false offset_label: Offset quantity: 3 + pagination_heading_level: h4 exposed_form: type: basic options: @@ -141,21 +141,6 @@ display: format: az_standard tokenize: false sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false field_az_event_date_value: id: field_az_event_date_value table: node__field_az_event_date @@ -452,7 +437,6 @@ display: type: full options: offset: 0 - pagination_heading_level: h4 items_per_page: 12 total_pages: null id: 0 @@ -470,6 +454,7 @@ display: offset: false offset_label: Offset quantity: 9 + pagination_heading_level: h4 sorts: field_az_event_date_value: id: field_az_event_date_value diff --git a/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml b/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml index 2db7d13241..7eebedb51d 100644 --- a/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml +++ b/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml @@ -22,12 +22,73 @@ base_table: node_field_data base_field: nid display: default: + display_plugin: default id: default display_title: Master - display_plugin: default position: 0 display_options: - title: '' + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + 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: full + options: + items_per_page: 50 + offset: 0 + id: 0 + total_pages: null + tags: + previous: '‹ Previous' + next: 'Next ›' + first: '« First' + last: 'Last »' + 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 + quantity: 9 + pagination_heading_level: h4 + style: + type: default + options: + grouping: + - + field: field_az_page_category + rendered: true + rendered_strip: true + row_class: '' + default_row_class: false + uses_fields: true + row: + type: 'entity:node' + options: + view_mode: teaser fields: field_az_page_category: id: field_az_page_category @@ -36,7 +97,6 @@ display: relationship: none group_type: group admin_label: '' - plugin_id: field label: '' exclude: false alter: @@ -92,62 +152,34 @@ display: multi_type: separator separator: ', ' field_api_classes: false - pager: - type: full - options: - offset: 0 - pagination_heading_level: h4 - items_per_page: 50 - total_pages: null - id: 0 - tags: - next: 'Next ›' - previous: '‹ Previous' - first: '« First' - last: 'Last »' + plugin_id: field + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status 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 - quantity: 9 - 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: tag - options: { } - empty: { } - sorts: - sticky: - id: sticky + operator: '' + operator_limit_selection: false + operator_list: { } + group: 1 + type: + id: type table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' + field: type + value: + az_flexible_page: az_flexible_page entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC + entity_field: type + plugin_id: bundle expose: - label: '' - field_identifier: '' - exposed: false + operator_limit_selection: false + operator_list: { } + sorts: title: id: title table: node_field_data @@ -155,14 +187,19 @@ display: relationship: none group_type: group admin_label: '' - entity_type: node - entity_field: title - plugin_id: standard order: ASC + exposed: false expose: label: '' field_identifier: title - exposed: false + entity_type: node + entity_field: title + plugin_id: standard + title: '' + header: { } + footer: { } + empty: { } + relationships: { } arguments: tid: id: tid @@ -171,7 +208,6 @@ display: relationship: none group_type: group admin_label: '' - plugin_id: taxonomy_index_tid default_action: ignore exception: value: all @@ -185,8 +221,8 @@ display: summary_options: base_path: '' count: true - override: false items_per_page: 25 + override: false summary: sort_order: asc number_of_records: 0 @@ -198,67 +234,16 @@ display: validate_options: bundles: az_page_categories: az_page_categories - access: false operation: view multiple: 1 + access: false break_phrase: true add_table: false require_value: false reduce_duplicates: true - filters: - status: - id: status - table: node_field_data - field: status - entity_type: node - entity_field: status - plugin_id: boolean - value: '1' - group: 1 - expose: - operator: '' - operator_limit_selection: false - operator_list: { } - type: - id: type - table: node_field_data - field: type - entity_type: node - entity_field: type - plugin_id: bundle - value: - az_flexible_page: az_flexible_page - expose: - operator_limit_selection: false - operator_list: { } - style: - type: default - options: - grouping: - - - field: field_az_page_category - rendered: true - rendered_strip: true - row_class: '' - default_row_class: false - uses_fields: true - row: - type: 'entity:node' - options: - view_mode: teaser - query: - type: views_query - options: - query_comment: '' - disable_sql_rewrite: false - distinct: false - replica: false - query_tags: { } - relationships: { } - group_by: false - header: { } - footer: { } + plugin_id: taxonomy_index_tid display_extenders: { } + group_by: false cache_metadata: max-age: -1 contexts: @@ -271,11 +256,13 @@ display: tags: - 'config:field.storage.node.field_az_page_category' grid: + display_plugin: page id: grid display_title: 'Grid Page' - display_plugin: page position: 2 display_options: + display_extenders: { } + display_description: '' style: type: views_bootstrap_grid options: @@ -288,18 +275,16 @@ display: col_md: col-md-4 col_lg: col-lg-4 col_xl: col-xl-4 + defaults: + style: false + row: false + style_options: false row: type: 'entity:node' options: relationship: none view_mode: az_card - defaults: - style: false - style_options: false - row: false - display_description: '' style_options: null - display_extenders: { } path: page-grid cache_metadata: max-age: -1 @@ -313,32 +298,32 @@ display: tags: - 'config:field.storage.node.field_az_page_category' row: + display_plugin: page id: row display_title: 'Row Page' - display_plugin: page position: 1 display_options: + display_extenders: { } + path: page-list + display_description: '' style: type: default options: row_class: '' default_row_class: false uses_fields: false - row: - type: 'entity:node' - options: - relationship: none - view_mode: az_row defaults: css_class: false style: false - style_options: false row: false + style_options: false css_class: add-pager-top-margin - display_description: '' + row: + type: 'entity:node' + options: + relationship: none + view_mode: az_row style_options: null - display_extenders: { } - path: page-list cache_metadata: max-age: -1 contexts: diff --git a/modules/custom/az_news/config/install/views.view.az_news.yml b/modules/custom/az_news/config/install/views.view.az_news.yml index 068faeb82b..5a7602780c 100644 --- a/modules/custom/az_news/config/install/views.view.az_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_news.yml @@ -122,21 +122,6 @@ display: options: { } empty: { } sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: sticky - exposed: false field_az_published_value: id: field_az_published_value table: node__field_az_published @@ -278,6 +263,36 @@ display: options: offset: 0 items_per_page: 1 + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: sticky + exposed: false + field_az_published_value: + id: field_az_published_value + table: node__field_az_published + field: field_az_published_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_az_published_value + exposed: false + granularity: second style: type: default options: @@ -294,7 +309,7 @@ display: style: false style_options: false row: false - sorts: true + sorts: false pager_options: false display_description: '' pager_options: null diff --git a/modules/custom/az_person/config/install/views.view.az_person.yml b/modules/custom/az_person/config/install/views.view.az_person.yml index 14bfba2534..027c5e32fc 100644 --- a/modules/custom/az_person/config/install/views.view.az_person.yml +++ b/modules/custom/az_person/config/install/views.view.az_person.yml @@ -377,21 +377,6 @@ display: separator: ', ' field_api_classes: false sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false weight: id: weight table: draggableviews_structure @@ -545,21 +530,6 @@ display: separator: ', ' field_api_classes: false sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false weight: id: weight table: draggableviews_structure @@ -1499,21 +1469,6 @@ display: empty_zero: false hide_alter_empty: false sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false weight: id: weight table: draggableviews_structure @@ -2462,21 +2417,6 @@ display: empty_zero: false hide_alter_empty: false sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false weight: id: weight table: draggableviews_structure @@ -2574,21 +2514,6 @@ display: position: 3 display_options: sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false weight: id: weight table: draggableviews_structure From 57367d3c22b307cd029a5f128acfcdfffcf1fbc7 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:58:22 -0500 Subject: [PATCH 03/12] Update standard views --- .../config/install/views.view.az_events.yml | 19 +- .../views.view.az_page_by_category.yml | 249 ++++++++-------- .../config/install/views.view.az_news.yml | 53 ++-- .../config/install/views.view.az_person.yml | 265 ++---------------- 4 files changed, 187 insertions(+), 399 deletions(-) diff --git a/modules/custom/az_event/config/install/views.view.az_events.yml b/modules/custom/az_event/config/install/views.view.az_events.yml index 12e0ab9b44..83b0ec0d46 100644 --- a/modules/custom/az_event/config/install/views.view.az_events.yml +++ b/modules/custom/az_event/config/install/views.view.az_events.yml @@ -91,6 +91,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 10 total_pages: null id: 0 @@ -108,7 +109,6 @@ display: offset: false offset_label: Offset quantity: 3 - pagination_heading_level: h4 exposed_form: type: basic options: @@ -141,6 +141,21 @@ display: format: az_standard tokenize: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false field_az_event_date_value: id: field_az_event_date_value table: node__field_az_event_date @@ -437,6 +452,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 12 total_pages: null id: 0 @@ -454,7 +470,6 @@ display: offset: false offset_label: Offset quantity: 9 - pagination_heading_level: h4 sorts: field_az_event_date_value: id: field_az_event_date_value diff --git a/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml b/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml index 7eebedb51d..2db7d13241 100644 --- a/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml +++ b/modules/custom/az_flexible_page/config/install/views.view.az_page_by_category.yml @@ -22,73 +22,12 @@ base_table: node_field_data base_field: nid 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: tag - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - 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: full - options: - items_per_page: 50 - offset: 0 - id: 0 - total_pages: null - tags: - previous: '‹ Previous' - next: 'Next ›' - first: '« First' - last: 'Last »' - 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 - quantity: 9 - pagination_heading_level: h4 - style: - type: default - options: - grouping: - - - field: field_az_page_category - rendered: true - rendered_strip: true - row_class: '' - default_row_class: false - uses_fields: true - row: - type: 'entity:node' - options: - view_mode: teaser + title: '' fields: field_az_page_category: id: field_az_page_category @@ -97,6 +36,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: field label: '' exclude: false alter: @@ -152,34 +92,62 @@ display: multi_type: separator separator: ', ' field_api_classes: false - plugin_id: field - filters: - status: - value: '1' - table: node_field_data - field: status - plugin_id: boolean - entity_type: node - entity_field: status - id: status + pager: + type: full + options: + offset: 0 + pagination_heading_level: h4 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + first: '« First' + last: 'Last »' expose: - operator: '' - operator_limit_selection: false - operator_list: { } - group: 1 - type: - id: type + 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 + quantity: 9 + 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: tag + options: { } + empty: { } + sorts: + sticky: + id: sticky table: node_field_data - field: type - value: - az_flexible_page: az_flexible_page + field: sticky + relationship: none + group_type: group + admin_label: '' entity_type: node - entity_field: type - plugin_id: bundle + entity_field: sticky + plugin_id: standard + order: DESC expose: - operator_limit_selection: false - operator_list: { } - sorts: + label: '' + field_identifier: '' + exposed: false title: id: title table: node_field_data @@ -187,19 +155,14 @@ display: relationship: none group_type: group admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard order: ASC - exposed: false expose: label: '' field_identifier: title - entity_type: node - entity_field: title - plugin_id: standard - title: '' - header: { } - footer: { } - empty: { } - relationships: { } + exposed: false arguments: tid: id: tid @@ -208,6 +171,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: taxonomy_index_tid default_action: ignore exception: value: all @@ -221,8 +185,8 @@ display: summary_options: base_path: '' count: true - items_per_page: 25 override: false + items_per_page: 25 summary: sort_order: asc number_of_records: 0 @@ -234,16 +198,67 @@ display: validate_options: bundles: az_page_categories: az_page_categories + access: false operation: view multiple: 1 - access: false break_phrase: true add_table: false require_value: false reduce_duplicates: true - plugin_id: taxonomy_index_tid - display_extenders: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + az_flexible_page: az_flexible_page + expose: + operator_limit_selection: false + operator_list: { } + style: + type: default + options: + grouping: + - + field: field_az_page_category + rendered: true + rendered_strip: true + row_class: '' + default_row_class: false + uses_fields: true + row: + type: 'entity:node' + options: + view_mode: teaser + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } group_by: false + header: { } + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -256,13 +271,11 @@ display: tags: - 'config:field.storage.node.field_az_page_category' grid: - display_plugin: page id: grid display_title: 'Grid Page' + display_plugin: page position: 2 display_options: - display_extenders: { } - display_description: '' style: type: views_bootstrap_grid options: @@ -275,16 +288,18 @@ display: col_md: col-md-4 col_lg: col-lg-4 col_xl: col-xl-4 - defaults: - style: false - row: false - style_options: false row: type: 'entity:node' options: relationship: none view_mode: az_card + defaults: + style: false + style_options: false + row: false + display_description: '' style_options: null + display_extenders: { } path: page-grid cache_metadata: max-age: -1 @@ -298,32 +313,32 @@ display: tags: - 'config:field.storage.node.field_az_page_category' row: - display_plugin: page id: row display_title: 'Row Page' + display_plugin: page position: 1 display_options: - display_extenders: { } - path: page-list - display_description: '' style: type: default options: row_class: '' default_row_class: false uses_fields: false - defaults: - css_class: false - style: false - row: false - style_options: false - css_class: add-pager-top-margin row: type: 'entity:node' options: relationship: none view_mode: az_row + defaults: + css_class: false + style: false + style_options: false + row: false + css_class: add-pager-top-margin + display_description: '' style_options: null + display_extenders: { } + path: page-list cache_metadata: max-age: -1 contexts: diff --git a/modules/custom/az_news/config/install/views.view.az_news.yml b/modules/custom/az_news/config/install/views.view.az_news.yml index 5a7602780c..be95ee2416 100644 --- a/modules/custom/az_news/config/install/views.view.az_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_news.yml @@ -122,6 +122,21 @@ display: options: { } empty: { } sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false field_az_published_value: id: field_az_published_value table: node__field_az_published @@ -136,8 +151,8 @@ display: field_identifier: field_az_published_value exposed: false granularity: second - created: - id: created + created_1: + id: created_1 table: node_field_data field: created relationship: none @@ -149,7 +164,7 @@ display: order: DESC expose: label: '' - field_identifier: created + field_identifier: '' exposed: false granularity: second arguments: @@ -263,36 +278,6 @@ display: options: offset: 0 items_per_page: 1 - sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: sticky - exposed: false - field_az_published_value: - id: field_az_published_value - table: node__field_az_published - field: field_az_published_value - relationship: none - group_type: group - admin_label: '' - plugin_id: datetime - order: DESC - expose: - label: '' - field_identifier: field_az_published_value - exposed: false - granularity: second style: type: default options: @@ -309,7 +294,7 @@ display: style: false style_options: false row: false - sorts: false + sorts: true pager_options: false display_description: '' pager_options: null diff --git a/modules/custom/az_person/config/install/views.view.az_person.yml b/modules/custom/az_person/config/install/views.view.az_person.yml index 027c5e32fc..958984249b 100644 --- a/modules/custom/az_person/config/install/views.view.az_person.yml +++ b/modules/custom/az_person/config/install/views.view.az_person.yml @@ -128,26 +128,26 @@ display: options: { } empty: { } sorts: - weight_1: - id: weight_1 - table: taxonomy_term_field_data - field: weight - relationship: term_node_tid + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none group_type: group admin_label: '' - entity_type: taxonomy_term - entity_field: weight + entity_type: node + entity_field: sticky plugin_id: standard - order: ASC + order: DESC expose: label: '' - field_identifier: weight_1 + field_identifier: '' exposed: false weight: id: weight table: draggableviews_structure field: weight - relationship: term_node_tid + relationship: none group_type: group admin_label: '' plugin_id: standard @@ -156,8 +156,9 @@ display: label: '' field_identifier: weight exposed: false - draggable_views_reference: 'azqs_reorder:page_1' + draggable_views_reference: 'az_reorder:reorder_people' draggable_views_null_order: after + draggable_views_pass_arguments: 0 field_az_lname_value: id: field_az_lname_value table: node__field_az_lname @@ -278,19 +279,7 @@ display: distinct: true replica: false query_tags: { } - relationships: - term_node_tid: - id: term_node_tid - table: node_field_data - field: term_node_tid - relationship: none - group_type: group - admin_label: 'Person Category' - entity_type: node - plugin_id: node_term_data - required: false - vids: - - az_person_categories + relationships: { } css_class: az-person-grid header: { } footer: { } @@ -376,49 +365,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -439,11 +385,10 @@ display: style: false style_options: false row: false - relationships: false + relationships: true fields: false - sorts: false + sorts: true arguments: true - relationships: { } display_description: '' style_options: null display_extenders: { } @@ -529,49 +474,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -594,7 +496,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } display_description: '' @@ -1468,49 +1370,6 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -1536,7 +1395,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2416,49 +2275,6 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -2484,7 +2300,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2513,49 +2329,6 @@ display: display_plugin: page position: 3 display_options: - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: default options: @@ -2573,7 +2346,7 @@ display: style_options: false row: false relationships: false - sorts: false + sorts: true relationships: { } display_description: '' style_options: null From d747fcb72a3a35807c33819532d6ba0a72f5504e Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:23:10 -0500 Subject: [PATCH 04/12] Update finder views --- .../quickstart/views.view.az_events.yml | 17 + .../config/quickstart/views.view.az_news.yml | 47 +-- .../views.view.az_page_by_category.yml | 15 + .../quickstart/views.view.az_person.yml | 292 ++---------------- 4 files changed, 66 insertions(+), 305 deletions(-) diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_events.yml b/modules/custom/az_finder/config/quickstart/views.view.az_events.yml index 965d73e8ca..f5c0f5dab0 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_events.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_events.yml @@ -92,6 +92,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 10 total_pages: null id: 0 @@ -141,6 +142,21 @@ display: format: az_standard tokenize: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false field_az_event_date_value: id: field_az_event_date_value table: node__field_az_event_date @@ -885,6 +901,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 12 total_pages: null id: 0 diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_news.yml b/modules/custom/az_finder/config/quickstart/views.view.az_news.yml index d792289e00..a92eb4f371 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_news.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_news.yml @@ -124,6 +124,21 @@ display: options: { } empty: { } sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: sticky + exposed: false field_az_published_value: id: field_az_published_value table: node__field_az_published @@ -265,36 +280,6 @@ display: options: offset: 0 items_per_page: 1 - sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: sticky - plugin_id: standard - order: DESC - expose: - label: '' - field_identifier: sticky - exposed: false - field_az_published_value: - id: field_az_published_value - table: node__field_az_published - field: field_az_published_value - relationship: none - group_type: group - admin_label: '' - plugin_id: datetime - order: DESC - expose: - label: '' - field_identifier: field_az_published_value - exposed: false - granularity: second style: type: default options: @@ -311,7 +296,7 @@ display: style: false style_options: false row: false - sorts: false + sorts: true pager_options: false display_description: '' pager_options: null diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_page_by_category.yml b/modules/custom/az_finder/config/quickstart/views.view.az_page_by_category.yml index 029f13a6ba..2db1855554 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_page_by_category.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_page_by_category.yml @@ -186,6 +186,21 @@ display: format: az_standard tokenize: false sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false title: id: title table: node_field_data diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_person.yml b/modules/custom/az_finder/config/quickstart/views.view.az_person.yml index be64cbb392..d2f8bb2c88 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_person.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_person.yml @@ -184,26 +184,26 @@ display: format: az_standard tokenize: false sorts: - weight_1: - id: weight_1 - table: taxonomy_term_field_data - field: weight - relationship: term_node_tid + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none group_type: group admin_label: '' - entity_type: taxonomy_term - entity_field: weight + entity_type: node + entity_field: sticky plugin_id: standard - order: ASC + order: DESC expose: label: '' - field_identifier: weight_1 + field_identifier: '' exposed: false weight: id: weight table: draggableviews_structure field: weight - relationship: term_node_tid + relationship: none group_type: group admin_label: '' plugin_id: standard @@ -212,8 +212,9 @@ display: label: '' field_identifier: weight exposed: false - draggable_views_reference: 'azqs_reorder:page_1' + draggable_views_reference: 'az_reorder:reorder_people' draggable_views_null_order: after + draggable_views_pass_arguments: 0 field_az_lname_value: id: field_az_lname_value table: node__field_az_lname @@ -240,49 +241,7 @@ display: label: '' field_identifier: field_az_fname_value exposed: false - arguments: - tid: - id: tid - table: taxonomy_index - field: tid - relationship: none - group_type: group - admin_label: '' - plugin_id: taxonomy_index_tid - default_action: ignore - exception: - value: all - title_enable: false - title: All - title_enable: true - title: '' - default_argument_type: fixed - default_argument_options: - argument: '' - summary_options: - base_path: '' - count: true - override: false - items_per_page: 25 - summary: - sort_order: asc - number_of_records: 0 - format: default_summary - specify_validation: true - validate: - type: 'entity:taxonomy_term' - fail: ignore - validate_options: - bundles: - az_person_categories: az_person_categories - az_person_categories_secondary: az_person_categories_secondary - access: false - operation: view - multiple: 1 - break_phrase: true - add_table: false - require_value: false - reduce_duplicates: true + arguments: { } filters: status: id: status @@ -587,49 +546,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -653,7 +569,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } display_description: '' @@ -742,49 +658,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -807,7 +680,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } display_description: '' @@ -1682,49 +1555,6 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -1750,7 +1580,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2631,49 +2461,6 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: views_bootstrap_grid options: @@ -2699,7 +2486,7 @@ display: row: false relationships: false fields: false - sorts: false + sorts: true arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2729,49 +2516,6 @@ display: display_plugin: page position: 3 display_options: - sorts: - weight: - id: weight - table: draggableviews_structure - field: weight - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: weight - exposed: false - draggable_views_reference: 'az_reorder:reorder_people' - draggable_views_null_order: after - draggable_views_pass_arguments: 0 - field_az_lname_value: - id: field_az_lname_value - table: node__field_az_lname - field: field_az_lname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_lname_value - exposed: false - field_az_fname_value: - id: field_az_fname_value - table: node__field_az_fname - field: field_az_fname_value - relationship: none - group_type: group - admin_label: '' - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: field_az_fname_value - exposed: false style: type: default options: @@ -2789,7 +2533,7 @@ display: style_options: false row: false relationships: false - sorts: false + sorts: true relationships: { } display_description: '' style_options: null From a3c8464d37f022138f639549759194e0b4c83c85 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Wed, 6 Nov 2024 13:07:08 -0500 Subject: [PATCH 05/12] Update views.view.az_reorder.yml with sticky sort order --- .../config/install/views.view.az_reorder.yml | 84 ++++++++++++++++++- 1 file changed, 83 insertions(+), 1 deletion(-) diff --git a/modules/custom/az_person/config/install/views.view.az_reorder.yml b/modules/custom/az_person/config/install/views.view.az_reorder.yml index 0ecdb063e7..bb19333f63 100644 --- a/modules/custom/az_person/config/install/views.view.az_reorder.yml +++ b/modules/custom/az_person/config/install/views.view.az_reorder.yml @@ -206,6 +206,73 @@ display: action_title: Action include_exclude: exclude selected_actions: null + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: field + label: 'Sticky at top of lists' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: yes-no + format_custom_false: '' + format_custom_true: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false pager: type: none options: @@ -230,6 +297,21 @@ display: options: { } empty: { } sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false weight: id: weight table: draggableviews_structure @@ -390,7 +472,7 @@ display: plugin_id: text empty: true content: - value: '

Note: Changing the sort order will override default alphabetical ordering.

' + value: "

Note: Changing the sort order will override default alphabetical ordering.

\r\n

Note: Sticky at top of lists option is set on the specific person.

" format: az_standard tokenize: false footer: From 9836b8866401a4b97e8539ecda537f4578650823 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:47:50 -0500 Subject: [PATCH 06/12] Removed sticky sorting from event sidebar and full calendar --- .../config/install/views.view.az_events.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/modules/custom/az_event/config/install/views.view.az_events.yml b/modules/custom/az_event/config/install/views.view.az_events.yml index 83b0ec0d46..872fdace37 100644 --- a/modules/custom/az_event/config/install/views.view.az_events.yml +++ b/modules/custom/az_event/config/install/views.view.az_events.yml @@ -617,6 +617,21 @@ display: offset: 0 items_per_page: 3 empty: { } + sorts: + field_az_event_date_value: + id: field_az_event_date_value + table: node__field_az_event_date + field: field_az_event_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: ASC + expose: + label: '' + field_identifier: field_az_event_date_value + exposed: false + granularity: second arguments: term_node_tid_depth: id: term_node_tid_depth @@ -703,6 +718,7 @@ display: empty: false title: false pager: false + sorts: false arguments: false pager_options: false header: false @@ -751,6 +767,21 @@ display: display_plugin: page position: 1 display_options: + sorts: + field_az_event_date_value: + id: field_az_event_date_value + table: node__field_az_event_date + field: field_az_event_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: ASC + expose: + label: '' + field_identifier: field_az_event_date_value + exposed: false + granularity: second filters: status: id: status @@ -900,6 +931,7 @@ display: style: false style_options: false row: false + sorts: false filters: false filter_groups: false css_class: add-pager-top-margin From 048c6a76167159d92700c2124345e1a0f7d7b93f Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:50:17 -0500 Subject: [PATCH 07/12] Changed AZ Person view to have sticky sort on already overridden pages and added back contextual filter --- .../config/install/views.view.az_person.yml | 340 +++++++++++++++++- 1 file changed, 321 insertions(+), 19 deletions(-) diff --git a/modules/custom/az_person/config/install/views.view.az_person.yml b/modules/custom/az_person/config/install/views.view.az_person.yml index 958984249b..14bfba2534 100644 --- a/modules/custom/az_person/config/install/views.view.az_person.yml +++ b/modules/custom/az_person/config/install/views.view.az_person.yml @@ -128,26 +128,26 @@ display: options: { } empty: { } sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none + weight_1: + id: weight_1 + table: taxonomy_term_field_data + field: weight + relationship: term_node_tid group_type: group admin_label: '' - entity_type: node - entity_field: sticky + entity_type: taxonomy_term + entity_field: weight plugin_id: standard - order: DESC + order: ASC expose: label: '' - field_identifier: '' + field_identifier: weight_1 exposed: false weight: id: weight table: draggableviews_structure field: weight - relationship: none + relationship: term_node_tid group_type: group admin_label: '' plugin_id: standard @@ -156,9 +156,8 @@ display: label: '' field_identifier: weight exposed: false - draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_reference: 'azqs_reorder:page_1' draggable_views_null_order: after - draggable_views_pass_arguments: 0 field_az_lname_value: id: field_az_lname_value table: node__field_az_lname @@ -279,7 +278,19 @@ display: distinct: true replica: false query_tags: { } - relationships: { } + relationships: + term_node_tid: + id: term_node_tid + table: node_field_data + field: term_node_tid + relationship: none + group_type: group + admin_label: 'Person Category' + entity_type: node + plugin_id: node_term_data + required: false + vids: + - az_person_categories css_class: az-person-grid header: { } footer: { } @@ -365,6 +376,64 @@ display: multi_type: separator separator: ', ' field_api_classes: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -385,10 +454,11 @@ display: style: false style_options: false row: false - relationships: true + relationships: false fields: false - sorts: true + sorts: false arguments: true + relationships: { } display_description: '' style_options: null display_extenders: { } @@ -474,6 +544,64 @@ display: multi_type: separator separator: ', ' field_api_classes: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -496,7 +624,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } display_description: '' @@ -1370,6 +1498,64 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -1395,7 +1581,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2275,6 +2461,64 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -2300,7 +2544,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2329,6 +2573,64 @@ display: display_plugin: page position: 3 display_options: + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: default options: @@ -2346,7 +2648,7 @@ display: style_options: false row: false relationships: false - sorts: true + sorts: false relationships: { } display_description: '' style_options: null From 920cb1d6114f327afeafef333102df8eead2d423 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:27:08 -0500 Subject: [PATCH 08/12] Update AZ Person view in Finder --- .../quickstart/views.view.az_person.yml | 367 +++++++++++++++++- 1 file changed, 349 insertions(+), 18 deletions(-) diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_person.yml b/modules/custom/az_finder/config/quickstart/views.view.az_person.yml index d2f8bb2c88..6b3e06bc46 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_person.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_person.yml @@ -184,26 +184,26 @@ display: format: az_standard tokenize: false sorts: - sticky: - id: sticky - table: node_field_data - field: sticky - relationship: none + weight_1: + id: weight_1 + table: taxonomy_term_field_data + field: weight + relationship: term_node_tid group_type: group admin_label: '' - entity_type: node - entity_field: sticky + entity_type: taxonomy_term + entity_field: weight plugin_id: standard - order: DESC + order: ASC expose: label: '' - field_identifier: '' + field_identifier: weight_1 exposed: false weight: id: weight table: draggableviews_structure field: weight - relationship: none + relationship: term_node_tid group_type: group admin_label: '' plugin_id: standard @@ -212,9 +212,8 @@ display: label: '' field_identifier: weight exposed: false - draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_reference: 'azqs_reorder:page_1' draggable_views_null_order: after - draggable_views_pass_arguments: 0 field_az_lname_value: id: field_az_lname_value table: node__field_az_lname @@ -241,7 +240,49 @@ display: label: '' field_identifier: field_az_fname_value exposed: false - arguments: { } + arguments: + tid: + id: tid + table: taxonomy_index + field: tid + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + default_action: ignore + exception: + value: all + title_enable: false + title: All + title_enable: true + title: '' + default_argument_type: fixed + default_argument_options: + argument: '' + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: true + validate: + type: 'entity:taxonomy_term' + fail: ignore + validate_options: + bundles: + az_person_categories: az_person_categories + az_person_categories_secondary: az_person_categories_secondary + access: false + operation: view + multiple: 1 + break_phrase: true + add_table: false + require_value: false + reduce_duplicates: true filters: status: id: status @@ -546,6 +587,64 @@ display: multi_type: separator separator: ', ' field_api_classes: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -569,7 +668,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } display_description: '' @@ -658,6 +757,64 @@ display: multi_type: separator separator: ', ' field_api_classes: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -680,7 +837,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } display_description: '' @@ -1555,6 +1712,64 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -1580,7 +1795,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2461,6 +2676,64 @@ display: hide_empty: false empty_zero: false hide_alter_empty: false + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: views_bootstrap_grid options: @@ -2486,7 +2759,7 @@ display: row: false relationships: false fields: false - sorts: true + sorts: false arguments: true relationships: { } css_class: 'az-person-grid az-person-modal' @@ -2516,6 +2789,64 @@ display: display_plugin: page position: 3 display_options: + sorts: + sticky: + id: sticky + table: node_field_data + field: sticky + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: sticky + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + weight: + id: weight + table: draggableviews_structure + field: weight + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: weight + exposed: false + draggable_views_reference: 'az_reorder:reorder_people' + draggable_views_null_order: after + draggable_views_pass_arguments: 0 + field_az_lname_value: + id: field_az_lname_value + table: node__field_az_lname + field: field_az_lname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_lname_value + exposed: false + field_az_fname_value: + id: field_az_fname_value + table: node__field_az_fname + field: field_az_fname_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: field_az_fname_value + exposed: false style: type: default options: @@ -2533,7 +2864,7 @@ display: style_options: false row: false relationships: false - sorts: true + sorts: false relationships: { } display_description: '' style_options: null From cd73c2123036b71309c4c87d8cdf6259fc77c504 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:39:08 -0500 Subject: [PATCH 09/12] Update AZ Events on Finder --- .../quickstart/views.view.az_events.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_events.yml b/modules/custom/az_finder/config/quickstart/views.view.az_events.yml index f5c0f5dab0..b5190afb9e 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_events.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_events.yml @@ -1227,6 +1227,21 @@ display: offset: 0 items_per_page: 3 empty: { } + sorts: + field_az_event_date_value: + id: field_az_event_date_value + table: node__field_az_event_date + field: field_az_event_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: ASC + expose: + label: '' + field_identifier: field_az_event_date_value + exposed: false + granularity: second arguments: term_node_tid_depth: id: term_node_tid_depth @@ -1313,6 +1328,7 @@ display: empty: false title: false pager: false + sorts: false arguments: false pager_options: false header: false @@ -1361,6 +1377,21 @@ display: display_plugin: page position: 1 display_options: + sorts: + field_az_event_date_value: + id: field_az_event_date_value + table: node__field_az_event_date + field: field_az_event_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: ASC + expose: + label: '' + field_identifier: field_az_event_date_value + exposed: false + granularity: second filters: status: id: status @@ -1510,6 +1541,7 @@ display: style: false style_options: false row: false + sorts: false filters: false filter_groups: false css_class: add-pager-top-margin From f7ac22bd79c6c6ae306df8cf271bfd564fc2d84e Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:22:52 -0500 Subject: [PATCH 10/12] Update block name --- modules/custom/az_news/config/install/views.view.az_news.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/custom/az_news/config/install/views.view.az_news.yml b/modules/custom/az_news/config/install/views.view.az_news.yml index be95ee2416..b846537d58 100644 --- a/modules/custom/az_news/config/install/views.view.az_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_news.yml @@ -903,7 +903,7 @@ display: filter_groups: false display_description: '' display_extenders: { } - block_description: 'Sidebar News Block' + block_description: 'Small Row News Block' cache_metadata: max-age: -1 contexts: From 42dbcc6bee3649499845889ea2a61a184de41af7 Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:26:09 -0500 Subject: [PATCH 11/12] Update modules/custom/az_news/config/install/views.view.az_news.yml Co-authored-by: Brian Berndt <74572157+bberndt-uaz@users.noreply.github.com> --- modules/custom/az_news/config/install/views.view.az_news.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/custom/az_news/config/install/views.view.az_news.yml b/modules/custom/az_news/config/install/views.view.az_news.yml index b846537d58..e52a1ed228 100644 --- a/modules/custom/az_news/config/install/views.view.az_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_news.yml @@ -151,8 +151,8 @@ display: field_identifier: field_az_published_value exposed: false granularity: second - created_1: - id: created_1 + created: + id: created table: node_field_data field: created relationship: none From d09d4e01804204385e2a19772e344210616b61cb Mon Sep 17 00:00:00 2001 From: Dana Hertzberg <59745109+danahertzberg@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:02:50 -0500 Subject: [PATCH 12/12] Remove sticky sort from sidebar news view --- .../config/quickstart/views.view.az_news.yml | 32 +++++++++++++++++++ .../config/install/views.view.az_news.yml | 32 +++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/modules/custom/az_finder/config/quickstart/views.view.az_news.yml b/modules/custom/az_finder/config/quickstart/views.view.az_news.yml index a92eb4f371..7d4002093d 100644 --- a/modules/custom/az_finder/config/quickstart/views.view.az_news.yml +++ b/modules/custom/az_finder/config/quickstart/views.view.az_news.yml @@ -1124,6 +1124,37 @@ display: options: offset: 0 items_per_page: 3 + sorts: + field_az_published_value: + id: field_az_published_value + table: node__field_az_published + field: field_az_published_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_az_published_value + exposed: false + granularity: second + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: created + exposed: false + granularity: second arguments: term_node_tid_depth: id: term_node_tid_depth @@ -1251,6 +1282,7 @@ display: pager: false style: false row: false + sorts: false arguments: false filters: false filter_groups: false diff --git a/modules/custom/az_news/config/install/views.view.az_news.yml b/modules/custom/az_news/config/install/views.view.az_news.yml index e52a1ed228..e88097093f 100644 --- a/modules/custom/az_news/config/install/views.view.az_news.yml +++ b/modules/custom/az_news/config/install/views.view.az_news.yml @@ -617,6 +617,37 @@ display: options: offset: 0 items_per_page: 3 + sorts: + field_az_published_value: + id: field_az_published_value + table: node__field_az_published + field: field_az_published_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: '' + field_identifier: field_az_published_value + exposed: false + granularity: second + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second arguments: term_node_tid_depth: id: term_node_tid_depth @@ -744,6 +775,7 @@ display: pager: false style: false row: false + sorts: false arguments: false filters: false filter_groups: false