UniversityOfHelsinkiCS / oodikone

An application for analyzing university data
https://oodikone.helsinki.fi
MIT License
14 stars 6 forks source link

[Backend][Frontend] Replaced curriculumPeriodIdToYearCode with curriculumPeriods #4619

Closed mattirasanen closed 2 months ago

mattirasanen commented 2 months ago

[Backend] Created curriculumPeriods service and refactored getDegreeProgrammesOfOrganization to use CurriculumPeriods instead of curriculumPeriodIdToYearCode way

[FacultyProgrammeOverview] Added creditCounts keys length check in function calculateStats

rundtjan commented 2 months ago

Verily this is FD :tm: approved.

Note to Toska: the isRelevant check is now updated regardless of service provider, so if this change is not ok for you, we need to add an if clause switch for the relevant check.