diff --git a/docker-compose.yml b/docker-compose.yml index 63e19617e..ab5aeb2ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -110,7 +110,7 @@ services: # dockerfile to use for build dockerfile: Dockerfile # update version number to correspond to frontend/package.json - image: rsd/frontend:2.8.1 + image: rsd/frontend:2.8.2 environment: # it uses values from .env file - POSTGREST_URL diff --git a/frontend/components/organisation/projects/search/OrgSearchProjectSection.tsx b/frontend/components/organisation/projects/search/OrgSearchProjectSection.tsx index ed74add9c..c30e6ac26 100644 --- a/frontend/components/organisation/projects/search/OrgSearchProjectSection.tsx +++ b/frontend/components/organisation/projects/search/OrgSearchProjectSection.tsx @@ -1,7 +1,8 @@ +// SPDX-FileCopyrightText: 2023 - 2024 Netherlands eScience Center // SPDX-FileCopyrightText: 2023 Dusan Mijatovic (Netherlands eScience Center) // SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) -// SPDX-FileCopyrightText: 2023 Netherlands eScience Center // SPDX-FileCopyrightText: 2023 dv4all +// SPDX-FileCopyrightText: 2024 Ewan Cahen (Netherlands eScience Center) // // SPDX-License-Identifier: Apache-2.0 @@ -15,6 +16,7 @@ import useQueryChange from '../useQueryChange' import {useState} from 'react' import OrgProjectFiltersModal from '../filters/OrgProjectFiltersModal' import useProjectParams from '../useProjectParams' +import {getPageRange} from '~/utils/pagination' type SearchSectionProps = { // search?: string | null @@ -63,7 +65,7 @@ export default function OrganisationSearchProjectSection({
- Page {page ?? 1} of {count} results + {getPageRange(rows, page, count)}
{smallScreen === true &&
- Page {page ?? 1} of {count} results + {getPageRange(rows, page, count)}
{smallScreen === true &&
- Page {page ?? 1} of {count} results + {getPageRange(rows, page, count)}
{smallScreen === true &&
- Page {page ?? 1} of {count} results + {getPageRange(rows, page, count)}
{smallScreen === true &&