diff --git a/config/sync/views.view.stanford_basic_pages.yml b/config/sync/views.view.stanford_basic_pages.yml index b9d761cf3..2eb9d1778 100644 --- a/config/sync/views.view.stanford_basic_pages.yml +++ b/config/sync/views.view.stanford_basic_pages.yml @@ -669,10 +669,317 @@ display: - 'config:field.storage.paragraph.su_banner_image' basic_page_type_list_graphql: id: basic_page_type_list_graphql - display_title: 'GraphQL: - Default List -' + display_title: 'GraphQL: List' display_plugin: graphql position: 99 display_options: + fields: + view_node: + id: view_node + table: node + field: view_node + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: entity_link + label: '' + exclude: true + 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: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: view + output_url_as_text: true + absolute: true + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: true + path: '{{ view_node }}' + 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: false + 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: entity_title_heading + settings: + tag: h3 + 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 + su_page_description: + id: su_page_description + table: node__su_page_description + field: su_page_description + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + 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: false + 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: string + settings: + link_to_entity: false + 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 + su_page_image: + id: su_page_image + table: node__su_page_image + field: su_page_image + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + 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: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '{{ su_banner_image }}' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: media_multimedia_formatter + settings: + image: + image_formatter: image_style + image_formatter_image_style: su_news_list + image_formatter_responsive_image_style: full_responsive + image_formatter_view_mode: default + video: + video_formatter: entity + video_formatter_view_mode: default + other: + view_mode: default + vt_settings: + options__settings__vt_settings__active_tab: edit-image + group_column: target_id + 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 + edit_node: + id: edit_node + table: node + field: edit_node + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: entity_link_edit + label: '' + 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: div + element_class: su-news-edit-article + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: 'edit this page' + output_url_as_text: false + absolute: false pager: type: full options: @@ -695,95 +1002,36 @@ display: offset: true offset_label: offset quantity: 9 - arguments: - term_node_taxonomy_name_depth: - id: term_node_taxonomy_name_depth + exposed_form: + type: graphql + options: + submit_button: Apply + reset_button: 0 + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: 1 + sort_asc_label: Asc + sort_desc_label: Desc + sorts: + created: + id: created table: node_field_data - field: term_node_taxonomy_name_depth + field: created relationship: none group_type: group admin_label: '' entity_type: node - plugin_id: taxonomy_index_name_depth - default_action: empty - exception: - value: all - title_enable: false - title: All - title_enable: false - 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: false - validate: - type: none - fail: 'not found' - validate_options: { } - break_phrase: true - depth: '1' - use_taxonomy_term_path: false - vocabularies: - basic_page_types: basic_page_types - defaults: - arguments: false - display_description: '' - display_extenders: { } - graphql_query_name: stanfordBasicPages - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - 'user.node_grants:view' - - user.permissions - tags: - - 'config:field.storage.node.su_page_description' - - 'config:field.storage.node.su_page_image' - - 'config:field.storage.paragraph.su_banner_image' - basic_page_types_graphql_alphabetical: - id: basic_page_types_graphql_alphabetical - display_title: 'GraphQL: Alphabetical Title' - display_plugin: graphql - position: 99 - display_options: - pager: - type: full - options: - offset: 0 - pagination_heading_level: h4 - items_per_page: 3 - total_pages: null - id: 0 - tags: - next: 'Next ›' - previous: '‹ Previous' - first: '« First' - last: 'Last »' + entity_field: created + plugin_id: date + order: DESC expose: - items_per_page: true - items_per_page_label: items - items_per_page_options: '3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99' - items_per_page_options_all: true - items_per_page_options_all_label: all - offset: true - offset_label: offset - quantity: 9 - sorts: + label: 'Authored on' + field_identifier: created + exposed: true + granularity: second title: id: title - table: node_field_revision + table: node_field_data field: title relationship: none group_type: group @@ -793,9 +1041,25 @@ display: plugin_id: standard order: ASC expose: - label: '' - field_identifier: '' - exposed: false + label: Title + field_identifier: title + exposed: true + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -835,21 +1099,18 @@ display: use_taxonomy_term_path: false vocabularies: basic_page_types: basic_page_types - style: - type: graphql - options: - uses_fields: false row: type: graphql_entity - options: null + options: { } defaults: - style: false - row: false + relationships: false + fields: false sorts: false arguments: false + relationships: { } display_description: '' display_extenders: { } - graphql_query_name: stanfordBasicPagesAlpha + graphql_query_name: stanfordBasicPages cache_metadata: max-age: -1 contexts: @@ -857,12 +1118,13 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: - 'config:field.storage.node.su_page_description' - 'config:field.storage.node.su_page_image' - - 'config:field.storage.paragraph.su_banner_image' card_grid_alpha: id: card_grid_alpha display_title: 'Card Grid, Alphabetical Title Sort (asc)' diff --git a/config/sync/views.view.stanford_courses.yml b/config/sync/views.view.stanford_courses.yml index eb37e68d2..709765198 100644 --- a/config/sync/views.view.stanford_courses.yml +++ b/config/sync/views.view.stanford_courses.yml @@ -569,9 +569,9 @@ display: plugin_id: standard order: ASC expose: - label: '' - field_identifier: '' - exposed: false + label: Title + field_identifier: title + exposed: true arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -732,6 +732,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1389,6 +1391,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1992,6 +1996,64 @@ display: offset: true offset_label: offset quantity: 9 + exposed_form: + type: graphql + options: + submit_button: Apply + reset_button: 0 + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: 1 + sort_asc_label: Asc + sort_desc_label: Desc + sorts: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true + 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: ASC + expose: + label: 'Authored on' + field_identifier: created + exposed: true + granularity: second + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -2036,6 +2098,7 @@ display: defaults: pager: false fields: false + sorts: false arguments: false display_description: 'The default list view field block' display_extenders: { } @@ -2047,6 +2110,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -2703,6 +2768,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -3280,6 +3347,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: diff --git a/config/sync/views.view.stanford_events.yml b/config/sync/views.view.stanford_events.yml index 898b8626f..9f1eea5b5 100644 --- a/config/sync/views.view.stanford_events.yml +++ b/config/sync/views.view.stanford_events.yml @@ -553,9 +553,9 @@ display: plugin_id: date order: ASC expose: - label: '' + label: 'Date & Time - Start' field_identifier: su_event_date_time_value - exposed: false + exposed: true granularity: second created: id: created @@ -683,6 +683,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -955,6 +957,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: { } @@ -2059,6 +2063,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -3062,6 +3068,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -3926,6 +3934,78 @@ display: offset: true offset_label: offset quantity: 9 + exposed_form: + type: graphql + options: + submit_button: Apply + reset_button: 0 + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: 1 + sort_asc_label: Asc + sort_desc_label: Desc + sorts: + su_event_date_time_value: + id: su_event_date_time_value + table: node__su_event_date_time + field: su_event_date_time_value + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: ASC + expose: + label: 'Date & Time - Start' + field_identifier: startTime + exposed: true + 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: 'Authored on' + field_identifier: created + exposed: true + granularity: second + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -4090,6 +4170,7 @@ display: style: false row: false fields: false + sorts: false arguments: false display_description: 'List - All Items' display_extenders: { } @@ -4101,6 +4182,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -4838,6 +4921,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -7060,9 +7145,9 @@ display: plugin_id: date order: DESC expose: - label: '' - field_identifier: su_event_date_time_value - exposed: false + label: 'Date & Time - Start' + field_identifier: startTime + exposed: true granularity: second created: id: created @@ -7076,10 +7161,41 @@ display: plugin_id: date order: DESC expose: - label: '' + label: 'Authored on' field_identifier: created - exposed: false + exposed: true granularity: second + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -7224,6 +7340,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: diff --git a/config/sync/views.view.stanford_news.yml b/config/sync/views.view.stanford_news.yml index 4518946c7..2f0237cb0 100644 --- a/config/sync/views.view.stanford_news.yml +++ b/config/sync/views.view.stanford_news.yml @@ -533,9 +533,9 @@ display: plugin_id: datetime order: DESC expose: - label: '' + label: 'Publishing Date (su_news_publishing_date)' field_identifier: su_news_publishing_date_value - exposed: false + exposed: true granularity: second created: id: created @@ -674,6 +674,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -904,6 +906,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -964,6 +968,68 @@ display: value: "

No results found

\r\n

Please try another option from the filter list.

" format: stanford_html tokenize: false + sorts: + su_news_publishing_date_value: + id: su_news_publishing_date_value + table: node__su_news_publishing_date + field: su_news_publishing_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: DESC + expose: + label: 'Publishing Date (su_news_publishing_date)' + field_identifier: publishingDate + exposed: true + 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: 'Authored on' + field_identifier: created + exposed: true + granularity: second + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -1077,6 +1143,7 @@ display: style: false row: false relationships: false + sorts: false arguments: false filters: false filter_groups: false @@ -1092,6 +1159,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1334,6 +1403,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1489,6 +1560,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1620,6 +1693,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1755,6 +1830,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1861,6 +1938,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: diff --git a/config/sync/views.view.stanford_person.yml b/config/sync/views.view.stanford_person.yml index 28cdfbcf3..c4f34118d 100644 --- a/config/sync/views.view.stanford_person.yml +++ b/config/sync/views.view.stanford_person.yml @@ -453,9 +453,9 @@ display: plugin_id: standard order: ASC expose: - label: '' + label: 'Last Name (su_person_last_name)' field_identifier: su_person_last_name_value - exposed: false + exposed: true su_person_first_name_value: id: su_person_first_name_value table: node__su_person_first_name @@ -578,6 +578,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -944,6 +946,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1276,6 +1280,90 @@ display: offset: true offset_label: offset quantity: 9 + exposed_form: + type: graphql + options: + submit_button: Apply + reset_button: 0 + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: 1 + sort_asc_label: Asc + sort_desc_label: Desc + sorts: + su_person_last_name_value: + id: su_person_last_name_value + table: node__su_person_last_name + field: su_person_last_name_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: 'Last Name (su_person_last_name)' + field_identifier: lastName + exposed: true + su_person_first_name_value: + id: su_person_first_name_value + table: node__su_person_first_name + field: su_person_first_name_value + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: 'First Name (su_person_first_name)' + field_identifier: firstName + exposed: true + 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: 'Authored on' + field_identifier: created + exposed: true + granularity: second + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -1318,6 +1406,7 @@ display: defaults: relationships: false fields: false + sorts: false arguments: false relationships: { } display_description: 'A list of people on a grid page view' @@ -1330,6 +1419,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1697,6 +1788,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: diff --git a/config/sync/views.view.stanford_publications.yml b/config/sync/views.view.stanford_publications.yml index c03aaf407..ac0c5cd23 100644 --- a/config/sync/views.view.stanford_publications.yml +++ b/config/sync/views.view.stanford_publications.yml @@ -148,9 +148,9 @@ display: plugin_id: standard order: DESC expose: - label: '' + label: 'Year (su_year)' field_identifier: su_year_value - exposed: false + exposed: true su_month_value: id: su_month_value table: citation__su_month @@ -303,6 +303,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -508,6 +510,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -566,6 +570,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -771,6 +777,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -985,8 +993,106 @@ display: offset: true offset_label: offset quantity: 9 + exposed_form: + type: graphql + options: + submit_button: Apply + reset_button: 0 + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: 1 + sort_asc_label: Asc + sort_desc_label: Desc + sorts: + su_year_value: + id: su_year_value + table: citation__su_year + field: su_year_value + relationship: su_publication_citation + group_type: group + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: 'Year (su_year)' + field_identifier: year + exposed: true + su_month_value: + id: su_month_value + table: citation__su_month + field: su_month_value + relationship: su_publication_citation + group_type: group + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: 'Month (su_month)' + field_identifier: month + exposed: true + su_day_value: + id: su_day_value + table: citation__su_day + field: su_day_value + relationship: su_publication_citation + group_type: group + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: 'Day (su_day)' + field_identifier: day + exposed: true + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true + 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: ASC + expose: + label: 'Authored on' + field_identifier: created + exposed: true + granularity: second + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: ASC + expose: + label: Changed + field_identifier: changed + exposed: true + granularity: second defaults: fields: false + sorts: false display_description: '' display_extenders: { } graphql_query_name: stanfordPublications @@ -997,6 +1103,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: @@ -1967,6 +2075,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: diff --git a/config/sync/views.view.stanford_shared_tags.yml b/config/sync/views.view.stanford_shared_tags.yml index d99b428cc..3f36c3b18 100644 --- a/config/sync/views.view.stanford_shared_tags.yml +++ b/config/sync/views.view.stanford_shared_tags.yml @@ -108,9 +108,9 @@ display: plugin_id: date order: DESC expose: - label: '' - field_identifier: '' - exposed: false + label: Changed + field_identifier: changed + exposed: true granularity: second arguments: term_node_taxonomy_name_depth: @@ -273,6 +273,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: { } @@ -290,6 +292,8 @@ display: - 'languages:language_content' - 'languages:language_interface' - url + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: { } @@ -331,6 +335,54 @@ display: expose_sort_order: 1 sort_asc_label: Asc sort_desc_label: Desc + sorts: + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: date + order: DESC + expose: + label: Changed + field_identifier: changed + exposed: true + 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: ASC + expose: + label: 'Authored on' + field_identifier: created + exposed: true + granularity: second + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + expose: + label: Title + field_identifier: title + exposed: true arguments: term_node_taxonomy_name_depth: id: term_node_taxonomy_name_depth @@ -411,6 +463,7 @@ display: transform_dash: false break_phrase: true defaults: + sorts: false arguments: false display_description: '' display_extenders: { } @@ -422,6 +475,8 @@ display: - 'languages:language_interface' - url - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' - 'user.node_grants:view' - user.permissions tags: { }