[CourseStats] Remove credittypecode filtering

This commit is contained in:
Aaro Koivukangas
2026-09-21 15:24:21 +03:00
committed by Aaro Koivukangas
parent cb57167828
commit 11bda04e56
@@ -42,7 +42,6 @@ export const getCreditsForCourses = async (
[Op.in]: allCourseIds,
},
is_open: getIsOpen(unification),
credittypecode: { [Op.not]: CreditTypeCode.IMPROVED }, // We do not care about improved grades
attainment_date: { [Op.between]: [from, to] },
},
order: [['attainment_date', 'ASC']],