Description
When importing from external sources in DSpace-Cris (e.g. crossref or datacite) the pagination does not work.
To Reproduce
Steps to reproduce the behavior:
- Import something from some external source, e.g. datacite DOI
10.5281/zenodo
with more than 10 results to be expect - try to navigate between the results using the pagination
- the results list will keep the same, but the pagination (pages, number of changes) will change. There are no further requests when the pages change.
Expected behavior
We expect to paginate over external source entries . This works smooth on the standard DSpace Demo.
Thus we locate the problem at https://github.com/4Science/dspace-angular/blob/f5d618f093ce80506e49d799c0d4c6061586d598/src/app/submission/import-external/submission-import-external.component.ts#L119C6-L119C6
adding some this.searchConfigService.setPaginationId(this.initialPagination.id);
to the init method will surely fix the problem, because the searchOptions requested when getting the external source entries returns the setting from the 'spc' configuration and not the uuid settings.
Related work
Link to any related tickets or PRs here.