From 2c81788a4f19e9a2a8435b528db62e5c166038fc Mon Sep 17 00:00:00 2001 From: apapachristou Date: Wed, 22 Jul 2020 11:24:37 +0300 Subject: [PATCH] Fix bug on offsets of both dmp and dataset listing --- .../recent-edited-activity/recent-edited-activity.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts index 0a0b78a12..ee97bcd1e 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts @@ -424,8 +424,6 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn } public loadMore() { - this.dmpOffset = this.dmpOffset + this.pageSize; - this.datasetOffset = this.datasetOffset + this.pageSize; const fields: Array = []; // const fields: Array = ["-modified"]; const request = new DataTableMultiTypeRequest(this.dmpOffset, this.datasetOffset, this.pageSize, { fields: fields });