e-Learning-by-SSE / nm-self-learning

https://staging.sse.uni-hildesheim.de/selflearn
4 stars 4 forks source link

Creating a course on the specialization page does not add it to the specialization #85

Open ganskem opened 1 year ago

ganskem commented 1 year ago

If you are the administrator of a specialization you can recreate this behavior the following way:

  1. Go to "Übersicht"

  2. Click on the Fachgebiet you are the administrator of grafik

  3. Click on one of the specializations grafik

  4. Click on "Neuen Kurs erstellen" grafik

Once the course is created and you go back to the page of the Fachgebiet the course will not appear there. You need to go and add the course via the "Existierenden Kurs hinzufügen" button. This is not the most intuitive behavior.

ganskem commented 1 year ago

apps/site/pages/teaching/subjects/[subjectId]/[specializationId]/index.tsx

handleAddCourse needs to be called upon course creation