Skip to content

Commit

Permalink
Provide items per page for graphql views
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Feb 23, 2024
1 parent 13a03c7 commit f840f73
Show file tree
Hide file tree
Showing 7 changed files with 207 additions and 15 deletions.
40 changes: 37 additions & 3 deletions config/sync/views.view.stanford_basic_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,26 @@ display:
position: 99
display_options:
pager:
type: some
type: full
options:
offset: 0
items_per_page: 20
items_per_page: 21
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
display_description: ''
display_extenders: { }
graphql_query_name: stanfordBasicPages
Expand All @@ -628,6 +644,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -680,10 +697,26 @@ display:
position: 99
display_options:
pager:
type: some
type: full
options:
offset: 0
items_per_page: 3
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
style:
type: graphql
options:
Expand All @@ -704,6 +737,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
40 changes: 37 additions & 3 deletions config/sync/views.view.stanford_courses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1981,10 +1981,26 @@ display:
output_url_as_text: false
absolute: false
pager:
type: some
type: full
options:
offset: 0
items_per_page: 20
items_per_page: 21
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
Expand Down Expand Up @@ -2039,6 +2055,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -3796,10 +3813,26 @@ display:
separator: ', '
field_api_classes: false
pager:
type: some
type: full
options:
offset: 0
items_per_page: 3
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
style:
type: graphql
options: null
Expand All @@ -3820,6 +3853,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
40 changes: 37 additions & 3 deletions config/sync/views.view.stanford_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1030,10 +1030,26 @@ display:
separator: ', '
field_api_classes: false
pager:
type: some
type: full
options:
offset: 0
items_per_page: 3
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
Expand Down Expand Up @@ -1211,6 +1227,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
Expand Down Expand Up @@ -4166,10 +4183,26 @@ display:
output_url_as_text: false
absolute: false
pager:
type: some
type: full
options:
offset: 0
items_per_page: 20
items_per_page: 21
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
Expand Down Expand Up @@ -4344,6 +4377,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
40 changes: 37 additions & 3 deletions config/sync/views.view.stanford_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -928,10 +928,26 @@ display:
position: 9
display_options:
pager:
type: some
type: full
options:
offset: 0
items_per_page: 20
items_per_page: 21
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
exposed_form:
type: basic
options:
Expand Down Expand Up @@ -1083,6 +1099,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -1626,10 +1643,26 @@ display:
position: 99
display_options:
pager:
type: some
type: full
options:
offset: 0
items_per_page: 3
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
Expand Down Expand Up @@ -1736,6 +1769,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
22 changes: 22 additions & 0 deletions config/sync/views.view.stanford_person.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,27 @@ display:
text: 'edit this item'
output_url_as_text: false
absolute: false
pager:
type: full
options:
offset: 0
items_per_page: 60
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
Expand Down Expand Up @@ -1307,6 +1328,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
21 changes: 19 additions & 2 deletions config/sync/views.view.stanford_publications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -701,10 +701,26 @@ display:
output_url_as_text: true
absolute: true
pager:
type: some
type: full
options:
offset: 0
items_per_page: 20
items_per_page: 21
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
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
defaults:
fields: false
display_description: ''
Expand All @@ -716,6 +732,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
Loading

0 comments on commit f840f73

Please sign in to comment.