Can't remove another course from Condition: Completion of other courses

Re: Can't remove another course from Condition: Completion of other courses

by Mary Cooch -
Number of replies: 6
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hello there. I remember this as a problem a few versions back. I have made a comment in the tracker issue here MDL-60480

Average of ratings: Useful (1)
In reply to Mary Cooch

Re: Can't remove another course from Condition: Completion of other courses

by Denis Glagolev -

I have this is bug in Moodle 3.5.

What I have to do, because it is important thing.

In reply to Denis Glagolev

Re: Can't remove another course from Condition: Completion of other courses

by Steve Morrison -

I have spent a fair bit of time thinking that I was doing something wrong. Same exact issue here. Moodle 3.5 fordson theme

In reply to Steve Morrison

Re: Can't remove another course from Condition: Completion of other courses

by Steve Morrison -

Hello there. I remember this as a problem a few versions back. I have made a comment in the tracker issue here MDL-60480

Thank you Mary, That workaround fixed my mistake. What a wonderful platform Moodle is. read enough and the answers you will find.

   Greatly appreciated!! Steve

In reply to Steve Morrison

Re: Can't remove another course from Condition: Completion of other courses

by Megan Alfaro -
Hi everyone,
Can someone please share the workaround in boost theme in order to remove a course from the list? Thanks,
Megan
In reply to Megan Alfaro

Re: Can't remove another course from Condition: Completion of other courses

by umer Ahmed -
Hi , I need the work around as well . Need to remove course that was selected by mistake.
In reply to Megan Alfaro

Re: Can't remove another course from Condition: Completion of other courses

by umer Ahmed -
This worked for me , the  work around that will fix the issue

in the file /moodle/course/completion_form.php

add the below right above the comment "// Show mutliselect box "

add " $selectbox[0]='None';  "

This will add "None" in the select box. When you don't want any course select "None" in the select list. The course the was not going away will be removed and not saved.