mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Fixed pagination issues on item mapper
This commit is contained in:
@@ -144,7 +144,9 @@ export class CollectionItemMapperComponent implements OnInit {
|
|||||||
this.shouldUpdate$.next(false);
|
this.shouldUpdate$.next(false);
|
||||||
}
|
}
|
||||||
return this.itemDataService.findListByHref(collectionRD.payload._links.mappedItems.href, Object.assign(options, {
|
return this.itemDataService.findListByHref(collectionRD.payload._links.mappedItems.href, Object.assign(options, {
|
||||||
sort: this.defaultSortOptions
|
currentPage: options.pagination.currentPage,
|
||||||
|
elementsPerPage: options.pagination.pageSize,
|
||||||
|
sort: this.defaultSortOptions,
|
||||||
}),!shouldUpdate, false, followLink('owningCollection')).pipe(
|
}),!shouldUpdate, false, followLink('owningCollection')).pipe(
|
||||||
getAllSucceededRemoteData()
|
getAllSucceededRemoteData()
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user