diff --git a/src/addons/mod/data/pages/entry/entry.ts b/src/addons/mod/data/pages/entry/entry.ts index 470f97f7a..cb6d43cfe 100644 --- a/src/addons/mod/data/pages/entry/entry.ts +++ b/src/addons/mod/data/pages/entry/entry.ts @@ -352,6 +352,7 @@ export class AddonModDataEntryPage implements OnInit, OnDestroy { if (this.offset === undefined) { // No offset passed, display the first entry. pageIndex = 0; + this.offset = 0; } else if (this.offset > 0) { // Online entry. pageIndex = this.offset % perPage + (entries.offlineEntries?.length || 0);