-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
MDL-76997-master -
-
2
-
HQ 2023 Sprint i1.2 Moppies
As an admin
I want to reset indentation from site courses
so I can start using indentation for courses created from now
As we removed indentation for 4.0 and 4.1, some sites that were using indentation on 3.11 or earlier versions, have redesign their course on 4.0 because 4.1 not to need indentation. But the 'indent' field on 'course_modules' table has not been reset. So When they upgrade to latest versions and activate site indentation, the existing courses will be "changed" to use the indentation again.
To reset the indentation for existing courses and use indentation for newly create courses, the teachers/admins would need to change and remove indentation from all courses manually one by one.
To avoid this manual work, we want to add a link for admins to reset 'indent' field from all existing courses.
- The execution should update to '0' all 'indent' values on 'course_modules' table.
Note: A backporting request would be raised once this issue is integrated, so we should try to implement the patch following the rules to be backportable. More information about backporting request: https://moodledev.io/general/development/policies/backporting
- blocks
-
MDL-76998 Add an option for admins to reset indentation for courses on the site for 4.0 and 4.1 (backport of MDL-76997)
- Closed
- is blocked by
-
MDL-76991 New course format setting to enable/disable course indentation in Weeks and Topics
- Closed
- will help resolve
-
MDL-76998 Add an option for admins to reset indentation for courses on the site for 4.0 and 4.1 (backport of MDL-76997)
- Closed