Commit ce8d29b
committed
fix: query holidays by term date range instead of term_id
Holidays that fall between semesters (winter break, spring break, etc.)
have no term_id because they fall outside any term's start_date..end_date
window. Filtering by term_id excluded them entirely. Now we query all
holidays within the date range spanned by the user's enrolled terms.1 parent 9712616 commit ce8d29b
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
0 commit comments