Skip to content

Commit

Permalink
Remove the limit on the number of pages to show
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Dwyer committed Jan 12, 2023
1 parent 9ea0f3c commit e07587f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/page-list/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function PageListEdit( {
'postType',
'page',
{
per_page: MAX_PAGE_COUNT,
per_page: -1,
_fields: [ 'id', 'link', 'menu_order', 'parent', 'title', 'type' ],
// TODO: When https://core.trac.wordpress.org/ticket/39037 REST API support for multiple orderby
// values is resolved, update 'orderby' to [ 'menu_order', 'post_title' ] to provide a consistent
Expand Down

0 comments on commit e07587f

Please sign in to comment.