diff --git a/client/src/reports/in-lesson-report/index.jsx b/client/src/reports/in-lesson-report/index.jsx index 8b17b048..bd741506 100644 --- a/client/src/reports/in-lesson-report/index.jsx +++ b/client/src/reports/in-lesson-report/index.jsx @@ -7,7 +7,7 @@ import { TeacherSelector } from './TeacherSelector'; import { MainReport } from './MainReport'; import { round } from '@shared/utils/numericUtil'; import { useLateValue } from 'src/settings/settingsUtil'; -import { getCurrentHebrewYear } from '@shared/utils/yearFilter'; +import { defaultYearFilter } from '@shared/utils/yearFilter'; import { getDefaultReportDate } from './StudentList'; export const InLessonReport = ({ @@ -84,6 +84,7 @@ export const InLessonReport = ({ teacherReferenceId: lesson.teacherReferenceId, klassReferenceId: lesson.klassReferenceIds[0], lessonReferenceId: lesson.id, + year: defaultYearFilter.year, }; reportDates.forEach((reportDate, index) => {