diff --git a/src/components/common/Pagination.tsx b/src/components/common/Pagination.tsx index 1c0e9de2a2..79d632abee 100644 --- a/src/components/common/Pagination.tsx +++ b/src/components/common/Pagination.tsx @@ -88,6 +88,15 @@ const Pagination: FC = ({ viewQuerySettings, setViewQuerySettin /> )} + {!showControls && ( +
+ + + {globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0), totalRecordCount, totalRecordCount)} + + +
+ )} ); diff --git a/src/scripts/libraryBrowser.js b/src/scripts/libraryBrowser.js index eaec777401..5ad69fb85e 100644 --- a/src/scripts/libraryBrowser.js +++ b/src/scripts/libraryBrowser.js @@ -90,6 +90,10 @@ export function getQueryPagingHtml (options) { html += ''; html += globalize.translate('ListPaging', totalRecordCount ? startIndex + 1 : 0, recordsEnd, totalRecordCount); html += ''; + } else { + html += ''; + html += globalize.translate('ListPaging', totalRecordCount ? startIndex + 1 : 0, totalRecordCount, totalRecordCount); + html += ''; } if (showControls || options.viewButton || options.filterButton || options.sortButton || options.addLayoutButton) {