Skip to content

Commit

Permalink
Closes #3850: Update Quickstart content type views to have sticky at …
Browse files Browse the repository at this point in the history
…top of lists respected (#3851)

Co-authored-by: Brian Berndt <[email protected]>
  • Loading branch information
danahertzberg and bberndt-uaz authored Nov 22, 2024
1 parent 9e2463d commit 8e87fb6
Show file tree
Hide file tree
Showing 9 changed files with 576 additions and 184 deletions.
51 changes: 49 additions & 2 deletions modules/custom/az_event/config/install/views.view.az_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
Expand All @@ -108,7 +109,6 @@ display:
offset: false
offset_label: Offset
quantity: 3
pagination_heading_level: h4
exposed_form:
type: basic
options:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -437,6 +452,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 12
total_pages: null
id: 0
Expand All @@ -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
Expand Down Expand Up @@ -602,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
Expand Down Expand Up @@ -688,6 +718,7 @@ display:
empty: false
title: false
pager: false
sorts: false
arguments: false
pager_options: false
header: false
Expand Down Expand Up @@ -736,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
Expand Down Expand Up @@ -885,6 +931,7 @@ display:
style: false
style_options: false
row: false
sorts: false
filters: false
filter_groups: false
css_class: add-pager-top-margin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -885,6 +901,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 12
total_pages: null
id: 0
Expand Down Expand Up @@ -1210,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
Expand Down Expand Up @@ -1296,6 +1328,7 @@ display:
empty: false
title: false
pager: false
sorts: false
arguments: false
pager_options: false
header: false
Expand Down Expand Up @@ -1344,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
Expand Down Expand Up @@ -1493,6 +1541,7 @@ display:
style: false
style_options: false
row: false
sorts: false
filters: false
filter_groups: false
css_class: add-pager-top-margin
Expand Down
79 changes: 48 additions & 31 deletions modules/custom/az_finder/config/quickstart/views.view.az_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -311,7 +296,7 @@ display:
style: false
style_options: false
row: false
sorts: false
sorts: true
pager_options: false
display_description: ''
pager_options: null
Expand Down Expand Up @@ -1139,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
Expand Down Expand Up @@ -1266,6 +1282,7 @@ display:
pager: false
style: false
row: false
sorts: false
arguments: false
filters: false
filter_groups: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 8e87fb6

Please sign in to comment.