From d5c440b97d679ef429985c9577a8c0ed47a5802e Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 2 Jun 2022 16:21:32 +0200 Subject: [PATCH] MOBILE-4089 forum: Don't fetch all pages when invalidating data --- src/addons/mod/forum/services/forum.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/mod/forum/services/forum.ts b/src/addons/mod/forum/services/forum.ts index adf94722f..93bb01e2d 100644 --- a/src/addons/mod/forum/services/forum.ts +++ b/src/addons/mod/forum/services/forum.ts @@ -917,7 +917,7 @@ export class AddonModForumProvider { .getDiscussionsInPages(forum.id, { cmId: forum.cmid, sortOrder: sortOrder.value, - readingStrategy: CoreSitesReadingStrategy.PREFER_CACHE, + readingStrategy: CoreSitesReadingStrategy.ONLY_CACHE, }) .then((response) => { // Now invalidate the WS calls.