Skip to content

Commit f663b86

Browse files
authored
Merge pull request #4210 from alfonso-salces/MOBILE-4616
MOBILE-4616 blog: Add courseId param in entry creation
2 parents 904950d + f4d3a92 commit f663b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addons/blog/pages/index/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export class AddonBlogIndexPage implements OnInit, OnDestroy {
408408
* Redirect to entry creation form.
409409
*/
410410
createNewEntry(): void {
411-
CoreNavigator.navigateToSitePath('blog/edit/0', { params: { cmId: this.filter.cmid } });
411+
CoreNavigator.navigateToSitePath('blog/edit/0', { params: { cmId: this.filter.cmid, courseId: this.filter.courseid } });
412412
}
413413

414414
/**

0 commit comments

Comments
 (0)