Until now always the "closest" course category was shown in the interaction table that is visible for teachers and administrators to manage their courses (view.php).
As a supplement, two settings were added. Firstly, a checkbox enables a custom level of the course hierarchy to be displayed, and secondly, a second setting specifies the level.
In case a course does not have that level - E.g. level 2 is specified, but the course is assigned to the topmost category. The level closest to the specified level is displayed.
In the displayed example, the category depth is set to two and the category tree is
Until now always the "closest" course category was shown in the interaction table that is visible for teachers and administrators to manage their courses (view.php).
As a supplement, two settings were added. Firstly, a checkbox enables a custom level of the course hierarchy to be displayed, and secondly, a second setting specifies the level.![image](https://github.com/learnweb/moodle-tool_lifecycle/assets/18289780/c75d197d-00dc-4468-af5b-a57a18dda183)
In case a course does not have that level - E.g. level 2 is specified, but the course is assigned to the topmost category. The level closest to the specified level is displayed.
In the displayed example, the category depth is set to two and the category tree is
Category 1 (Course Info 1)
Missing: