Skip to content

Commit

Permalink
D8CORE-7414: Different sorting option for Basic Page lists
Browse files Browse the repository at this point in the history
  • Loading branch information
buttonwillowsix committed May 14, 2024
1 parent b9226fc commit 4b5af01
Showing 1 changed file with 57 additions and 1 deletion.
58 changes: 57 additions & 1 deletion config/sync/views.view.stanford_basic_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ display:
- 'config:field.storage.paragraph.su_banner_image'
viewfield_block_1:
id: viewfield_block_1
display_title: 'Card Grid'
display_title: 'Card Grid, Creation Date Sort (desc)'
display_plugin: viewfield_block
position: 2
display_options:
Expand Down Expand Up @@ -883,3 +883,59 @@ display:
- 'config:field.storage.node.su_page_description'
- 'config:field.storage.node.su_page_image'
- 'config:field.storage.paragraph.su_banner_image'
viewfield_block_2:
id: viewfield_block_2
display_title: 'Card Grid, Alphabetical Title Sort (asc)'
display_plugin: viewfield_block
position: 2
display_options:
display_extenders: { }
display_description: ''
style:
type: html_list
options:
row_class: ''
default_row_class: 1
uses_fields: 0
type: ul
wrapper_class: ''
class: 'su-list-unstyled grid-container-3'
defaults:
style: false
row: false
arguments: true
sorts: false
row:
type: 'entity:node'
options:
relationship: none
view_mode: stanford_h3_card
block_category: 'Basic Page Type Lists (Views)'
sorts:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
field_identifier: ''
entity_type: node
entity_field: title
plugin_id: standard
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- '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'

0 comments on commit 4b5af01

Please sign in to comment.