From f4d3a926153423421b081ce6e4c506422011fe6a Mon Sep 17 00:00:00 2001 From: Alfonso Salces Date: Tue, 15 Oct 2024 09:14:06 +0200 Subject: [PATCH] MOBILE-4616 blog: Add courseId param in entry creation --- src/addons/blog/pages/index/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/blog/pages/index/index.ts b/src/addons/blog/pages/index/index.ts index 874cd4842..afd431245 100644 --- a/src/addons/blog/pages/index/index.ts +++ b/src/addons/blog/pages/index/index.ts @@ -408,7 +408,7 @@ export class AddonBlogIndexPage implements OnInit, OnDestroy { * Redirect to entry creation form. */ createNewEntry(): void { - CoreNavigator.navigateToSitePath('blog/edit/0', { params: { cmId: this.filter.cmid } }); + CoreNavigator.navigateToSitePath('blog/edit/0', { params: { cmId: this.filter.cmid, courseId: this.filter.courseid } }); } /**