Fix bug on offsets of both dmp and dataset listing
This commit is contained in:
parent
3844c3a187
commit
2c81788a4f
|
@ -424,8 +424,6 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
|
||||||
}
|
}
|
||||||
|
|
||||||
public loadMore() {
|
public loadMore() {
|
||||||
this.dmpOffset = this.dmpOffset + this.pageSize;
|
|
||||||
this.datasetOffset = this.datasetOffset + this.pageSize;
|
|
||||||
const fields: Array<string> = [];
|
const fields: Array<string> = [];
|
||||||
// const fields: Array<string> = ["-modified"];
|
// const fields: Array<string> = ["-modified"];
|
||||||
const request = new DataTableMultiTypeRequest<RecentActivityCriteria>(this.dmpOffset, this.datasetOffset, this.pageSize, { fields: fields });
|
const request = new DataTableMultiTypeRequest<RecentActivityCriteria>(this.dmpOffset, this.datasetOffset, this.pageSize, { fields: fields });
|
||||||
|
|
Loading…
Reference in New Issue