Skip to content

Commit

Permalink
better ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Sep 28, 2019
1 parent 48536e7 commit cb423b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/navigation-menu/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export default withSelect( ( select ) => {
const { getEntityRecords } = select( 'core' );
const filterDefaultPages = {
parent: 0,
order: 'asc',
orderby: 'id',
};
return {
pages: getEntityRecords( 'postType', 'page', filterDefaultPages ),
Expand Down

0 comments on commit cb423b0

Please sign in to comment.