-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
[Logic for filtering via age is wrong] #218
Comments
Ohk.. 45+ people cant book for 18+ locations? |
I thought that was one way restriction |
No it is 18-44 and then 45+ |
Okay.. I will try to get to it in the weekend. Or if you'd like to submit a PR, that's okay with me too. If you do, please do raise to |
Hi @sumit7 - Could you share the error you get when trying to book for 45+ beneficiary in a 18+ center? |
@pallupz Hey sorry for the late reply. |
================================= ATTEMPTING BOOKING ================================================== |
This seems to be a new restriction, so yes, the code needs to be modified When I had written this condition - I had explicitly tested for this case. Thanks for pointing it out |
covid-vaccine-booking/src/utils.py
Line 42 in eaec87c
In viable_options() function if checks for session[min_age_limit]< min_age_booking.
But in case of booking for people above 45yers, it will accept bth 45yrs and 18-44yrs sessions as viable.
The text was updated successfully, but these errors were encountered: