diff --git a/public/pages/Indices/containers/Indices/Indices.tsx b/public/pages/Indices/containers/Indices/Indices.tsx index 2d882693e..94d269a66 100644 --- a/public/pages/Indices/containers/Indices/Indices.tsx +++ b/public/pages/Indices/containers/Indices/Indices.tsx @@ -24,7 +24,7 @@ import { import { ContentPanel, ContentPanelActions } from "../../../../components/ContentPanel"; import IndexControls from "../../components/IndexControls"; import IndexEmptyPrompt from "../../components/IndexEmptyPrompt"; -import { DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_QUERY_PARAMS, indicesColumns } from "../../utils/constants"; +import { DEFAULT_PAGE_SIZE_OPTIONS_INDICES, DEFAULT_QUERY_PARAMS, indicesColumns } from "../../utils/constants"; import IndexService from "../../../../services/IndexService"; import CommonService from "../../../../services/CommonService"; import { DataStream, ManagedCatIndex } from "../../../../../server/models/interfaces"; @@ -214,7 +214,7 @@ export default class Indices extends Component { const pagination: Pagination = { pageIndex: page, pageSize: size, - pageSizeOptions: DEFAULT_PAGE_SIZE_OPTIONS, + pageSizeOptions: DEFAULT_PAGE_SIZE_OPTIONS_INDICES, totalItemCount: totalIndices, }; diff --git a/public/pages/Indices/utils/constants.tsx b/public/pages/Indices/utils/constants.tsx index 543cc0384..ac7e98d67 100644 --- a/public/pages/Indices/utils/constants.tsx +++ b/public/pages/Indices/utils/constants.tsx @@ -14,6 +14,7 @@ const renderNumber = (value) => { }; export const DEFAULT_PAGE_SIZE_OPTIONS = [5, 10, 20, 50]; +export const DEFAULT_PAGE_SIZE_OPTIONS_INDICES = [10, 20, 50, 100, 500]; export const DEFAULT_QUERY_PARAMS = { from: 0,