Skip to content

Commit

Permalink
DataViews: make items per page an even number (#55906)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal authored Nov 7, 2023
1 parent 478ea73 commit 827cc83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function ViewTypeMenu( { view, onChangeView } ) {
);
}

const PAGE_SIZE_VALUES = [ 5, 20, 50 ];
const PAGE_SIZE_VALUES = [ 20, 50, 100 ];
function PageSizeMenu( { view, onChangeView } ) {
return (
<DropdownSubMenuV2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const DEFAULT_PAGE_BASE = {
search: '',
filters: [],
page: 1,
perPage: 5,
perPage: 20,
sort: {
field: 'date',
direction: 'desc',
Expand Down

0 comments on commit 827cc83

Please sign in to comment.