Skip to content

Commit

Permalink
[Class statistics] Fix included students when only fall semester is c…
Browse files Browse the repository at this point in the history
…hosen
  • Loading branch information
valtterikantanen committed Aug 26, 2024
1 parent 56feb95 commit 620bfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/backend/src/services/populations/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const parseQueryParams = query => {

const endDate = hasSpring
? new Date(`${year + 1}-${SemesterStart.FALL}`).toISOString()
: new Date(`${year}-${SemesterStart.SPRING}`).toISOString()
: new Date(`${year + 1}-${SemesterStart.SPRING}`).toISOString()

const exchangeStudents = studentStatuses != null && studentStatuses.includes('EXCHANGE')
const nondegreeStudents = studentStatuses != null && studentStatuses.includes('NONDEGREE')
Expand Down

0 comments on commit 620bfcb

Please sign in to comment.