diff --git a/packages/edit-site/src/components/sidebar-dataviews/default-views.js b/packages/edit-site/src/components/sidebar-dataviews/default-views.js index 9dbe790e999237..0a9debe7631e4f 100644 --- a/packages/edit-site/src/components/sidebar-dataviews/default-views.js +++ b/packages/edit-site/src/components/sidebar-dataviews/default-views.js @@ -71,6 +71,7 @@ const DEFAULT_POST_BASE = { function useDataViewItemCounts( { postType } ) { const { records, totalItems } = useEntityRecords( 'postType', postType, { + per_page: -1, status: [ 'any', 'trash' ], } ); return useMemo( () => {