Skip to content

Importing from external sources - pagination fail #59

Open
@floriangantner

Description

@floriangantner

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:

  1. Import something from some external source, e.g. datacite DOI 10.5281/zenodo with more than 10 results to be expect
  2. try to navigate between the results using the pagination
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions