MOBILE-4089 forum: Don't fetch all pages when invalidating data

main
Dani Palou 2022-06-02 16:21:32 +02:00 committed by Pau Ferrer Ocaña
parent 585f669641
commit d5c440b97d
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ export class AddonModForumProvider {
.getDiscussionsInPages(forum.id, { .getDiscussionsInPages(forum.id, {
cmId: forum.cmid, cmId: forum.cmid,
sortOrder: sortOrder.value, sortOrder: sortOrder.value,
readingStrategy: CoreSitesReadingStrategy.PREFER_CACHE, readingStrategy: CoreSitesReadingStrategy.ONLY_CACHE,
}) })
.then((response) => { .then((response) => {
// Now invalidate the WS calls. // Now invalidate the WS calls.