mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[CSTPER-138] Fixed issue with request pagination while retrieving external source providers
This commit is contained in:
@@ -139,7 +139,7 @@ export class SubmissionImportExternalSearchbarComponent implements OnInit {
|
||||
* Load the next pages of external sources.
|
||||
*/
|
||||
public onScroll(): void {
|
||||
if (!this.sourceListLoading && this.pageInfo.currentPage <= this.pageInfo.totalPages) {
|
||||
if (!this.sourceListLoading && ((this.pageInfo.currentPage + 1) <= this.pageInfo.totalPages)) {
|
||||
this.sourceListLoading = true;
|
||||
this.findListOptions = Object.assign({}, new FindListOptions(), {
|
||||
elementsPerPage: 5,
|
||||
|
Reference in New Issue
Block a user