diff --git a/client/src/pages/affiliationsTab.jsx b/client/src/pages/affiliationsTab.jsx
index 08e053af..932a86ca 100644
--- a/client/src/pages/affiliationsTab.jsx
+++ b/client/src/pages/affiliationsTab.jsx
@@ -48,10 +48,10 @@ export default function AffiliationsTab({ affiliations, selectedAffiliations, se
return (
<>
-
- {renderButtons(selectedAffiliations, tagAffiliations)}
+
+ {renderButtons(selectedAffiliations, tagAffiliations, 'affiliations')}
-
+
({
...st,
@@ -61,15 +61,19 @@ export default function AffiliationsTab({ affiliations, selectedAffiliations, se
-
+
setFilteredAffiliationName(e.target.value)}
value={filteredAffiliationName}
/>
+
+
+
+
{Object.values(status).map((st) => (
-
-
- {renderButtons(selectedAffiliations, tagAffiliations)}
-
-
>
);
}
diff --git a/client/src/pages/affiliationsView.jsx b/client/src/pages/affiliationsView.jsx
index 699a4403..f9d2ac63 100644
--- a/client/src/pages/affiliationsView.jsx
+++ b/client/src/pages/affiliationsView.jsx
@@ -17,10 +17,10 @@ export default function AffiliationsView({
metaKeySelection
onSelectionChange={(e) => setSelectedAffiliations(e.value)}
paginator
- paginatorPosition="both"
- paginatorTemplate="RowsPerPageDropdown FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
+ paginatorPosition="bottom"
+ paginatorTemplate="CurrentPageReport FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"
rows={50}
- rowsPerPageOptions={[25, 50, 100, 200, 500, 1000, 5000]}
+ rowsPerPageOptions={[50, 200, 1000, 5000]}
scrollable
selection={selectedAffiliations}
selectionPageOnly
diff --git a/client/src/pages/datasetsTab.jsx b/client/src/pages/datasetsTab.jsx
index 5d11d61a..6e3dab7e 100644
--- a/client/src/pages/datasetsTab.jsx
+++ b/client/src/pages/datasetsTab.jsx
@@ -91,10 +91,10 @@ export default function DatasetsTab({ datasets, publishers, selectedDatasets, se
return (
<>
-
- {renderButtons(selectedDatasets, tagDatasets)}
+
+ {renderButtons(selectedDatasets, tagDatasets, 'datasets')}
-
+
({
...st,
@@ -103,16 +103,20 @@ export default function DatasetsTab({ datasets, publishers, selectedDatasets, se
/>
-
-
+
+
setFilteredAffiliationName(e.target.value)}
value={filteredAffiliationName}
/>
+
+
+
+
{Object.values(status).map((st) => (
-
-
- {renderButtons(selectedDatasets, tagDatasets)}
-
-
>
);
}
diff --git a/client/src/pages/publicationsTab.jsx b/client/src/pages/publicationsTab.jsx
index 07aa943f..0d2c0bfd 100644
--- a/client/src/pages/publicationsTab.jsx
+++ b/client/src/pages/publicationsTab.jsx
@@ -91,10 +91,10 @@ export default function PublicationsTab({ publications, publishers, selectedPubl
return (
<>
-
- {renderButtons(selectedPublications, tagPublications)}
+
+ {renderButtons(selectedPublications, tagPublications, 'publications')}
-
+
({
...st,
@@ -104,15 +104,19 @@ export default function PublicationsTab({ publications, publishers, selectedPubl
-
+
setFilteredAffiliationName(e.target.value)}
value={filteredAffiliationName}
/>
+
+
+
+
{Object.values(status).map((st) => (
-
-
- {renderButtons(selectedPublications, tagPublications)}
-
-
>
);
}
diff --git a/client/src/pages/worksView.jsx b/client/src/pages/worksView.jsx
index a16842c8..8fc57cfa 100644
--- a/client/src/pages/worksView.jsx
+++ b/client/src/pages/worksView.jsx
@@ -23,10 +23,10 @@ export default function WorksView({
metaKeySelection={false}
onSelectionChange={(e) => setSelectedWorks(e.value)}
paginator
- paginatorPosition="both"
- paginatorTemplate="RowsPerPageDropdown FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
+ paginatorPosition="bottom"
+ paginatorTemplate="CurrentPageReport FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"
rows={50}
- rowsPerPageOptions={[25, 50, 100, 200, 500, 1000, 5000]}
+ rowsPerPageOptions={[50, 200, 1000, 5000]}
scrollable
selection={selectedWorks}
selectionPageOnly
diff --git a/client/src/utils/works.jsx b/client/src/utils/works.jsx
index e6e676f8..b00dee78 100644
--- a/client/src/utils/works.jsx
+++ b/client/src/utils/works.jsx
@@ -47,7 +47,7 @@ const normalizeName = (name) => name
.replace(/\s+/g, ' ')
.trim();
-const renderButtons = (selected, fn) => (
+const renderButtons = (selected, fn, entityLabel) => (
<>
{Object.values(status).map((st) => (
))}
>