Skip to content

Commit

Permalink
Merge pull request #4210 from alfonso-salces/MOBILE-4616
Browse files Browse the repository at this point in the history
MOBILE-4616 blog: Add courseId param in entry creation
  • Loading branch information
crazyserver authored Oct 15, 2024
2 parents 904950d + f4d3a92 commit f663b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addons/blog/pages/index/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } });
}

/**
Expand Down

0 comments on commit f663b86

Please sign in to comment.