Skip to content

Conversation

@michaelchadwick
Copy link
Contributor

Fixes ilios/ilios#6726
Refs ilios/ilios#4880

Due to an overfitted solution in ilios/ilios#7825, a maxEndYear upper bound was placed on the cohort selection display. This was fine...in 2024, but in 2025 and beyond it was not.

Realized there was only reason to put a lower bound to fix ilios/ilios#4880, and so removing the upper bound fixes this issue. Also added an integration test to check for this.

@michaelchadwick michaelchadwick changed the title Frontend 6726 fix course rollover future cohort limit Fixes Course Rollover future cohort display bug Dec 10, 2025
@netlify
Copy link

netlify bot commented Dec 10, 2025

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit 7bbc992
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/6939e7b0faefb50008408153
😎 Deploy Preview https://deploy-preview-9006--ilios-frontend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dartajax dartajax added the run ui tests Run the expensive UI tests label Dec 10, 2025
Copy link
Member

@dartajax dartajax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this from what I had originally thought was the issue - assigning a cohort to an existing course - a future cohort. This works fine now. Also the rollover cohort selection process is also fine. I approve.

@jrjohnson jrjohnson removed the request for review from stopfstedt December 10, 2025 19:26
@jrjohnson jrjohnson removed the run ui tests Run the expensive UI tests label Dec 10, 2025
@dartajax dartajax self-assigned this Dec 10, 2025
@dartajax dartajax added the run ui tests Run the expensive UI tests label Dec 10, 2025
@dartajax dartajax merged commit f5df4eb into ilios:master Dec 11, 2025
46 of 47 checks passed
@michaelchadwick michaelchadwick deleted the frontend-6726-fix-course-rollover-future-cohort-limit branch December 17, 2025 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run ui tests Run the expensive UI tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to Rollover Course to Future Cohort Cohort Selector Tool - Course Level Needs Pruning

3 participants