Skip to content

Commit 45e8977

Browse files
Fixed pagination issues on item mapper
1 parent 404ccd9 commit 45e8977

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/collection-page/collection-item-mapper/collection-item-mapper.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ export class CollectionItemMapperComponent implements OnInit {
144144
this.shouldUpdate$.next(false);
145145
}
146146
return this.itemDataService.findListByHref(collectionRD.payload._links.mappedItems.href, Object.assign(options, {
147-
sort: this.defaultSortOptions
147+
currentPage: options.pagination.currentPage,
148+
elementsPerPage: options.pagination.pageSize,
149+
sort: this.defaultSortOptions,
148150
}),!shouldUpdate, false, followLink('owningCollection')).pipe(
149151
getAllSucceededRemoteData()
150152
);

0 commit comments

Comments
 (0)