Skip to content

Commit 1ff9b58

Browse files
committed
fix: do not include repeater exams not planned by me
1 parent f95e68a commit 1ff9b58

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

plexams/csv.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ func (p *Plexams) CsvForLBARepeater(filename string) error {
209209
continue
210210
}
211211

212+
if exam.Constraints != nil && exam.Constraints.NotPlannedByMe {
213+
continue
214+
}
215+
212216
mainExamer, err := p.GetTeacher(ctx, exam.ZpaExam.MainExamerID)
213217
if err != nil {
214218
log.Error().Err(err).Msg("cannot get main examiner")

0 commit comments

Comments
 (0)