Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter hidden subjects in Schools secondary_subjects #3166

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

ekumachidi
Copy link
Contributor

Trello card

https://trello.com/c/NOHbwt7v

Context

We're seeing issues with a few schools not able to receive requests.
This could be due to our removal of subjects: physics with maths and vocational health.

Changes proposed in this pull request

  • Refactor secondary_subjects scope in Bookings::Subject model to include only non-hidden secondary subjects
  • Remove safe navigation from bookings_subject in placement_date_option.rb

@ekumachidi ekumachidi self-assigned this Apr 26, 2024
@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Apr 26, 2024
@ekumachidi ekumachidi requested a review from MylesJarvis April 26, 2024 10:14
Copy link

Copy link
Contributor

@MylesJarvis MylesJarvis left a comment

Choose a reason for hiding this comment

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

LGTM

@MylesJarvis MylesJarvis merged commit f8bdddc into master Apr 26, 2024
16 checks passed
@MylesJarvis MylesJarvis deleted the ce-filter-hidden-subjects branch April 26, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants