MOBILE-4089 forum: Don't fetch all pages when invalidating data
parent
585f669641
commit
d5c440b97d
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue