Discussions with a start time in the future are visible in the 'Forum Posts' feed on the 'My Courses' page. When a student clicks on the discussion title, they are presented with an error message, which is expected as the discussion is not yet available but not ideal as a user experience.
This PR adds a WHERE clause checking that the discussion timestart is in the past, thus preventing the posts from showing in the feed if the start time has not yet been reached.
Discussions with a start time in the future are visible in the 'Forum Posts' feed on the 'My Courses' page. When a student clicks on the discussion title, they are presented with an error message, which is expected as the discussion is not yet available but not ideal as a user experience.
This PR adds a WHERE clause checking that the discussion timestart is in the past, thus preventing the posts from showing in the feed if the start time has not yet been reached.