Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #3850: Update Quickstart content type views to have sticky at top of lists respected #3851

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
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
47 changes: 16 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
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