BCStudentSoftwareDevTeam / chemical-inventory

0 stars 0 forks source link

DatePicker Broken #129

Closed hmanalai closed 7 years ago

hmanalai commented 7 years ago

Original report by Kye Hoover (Bitbucket: eykrevooh, GitHub: eykrevooh).


The datepicker always sends the current day as the date. It does not send the date that was selected. The logic for checking if the date is valid should also be handled by the controller and not the model.

hmanalai commented 7 years ago

Original comment by Zach Ball (Bitbucket: ZachBall, GitHub: ZachBall).


Issue was with sortPost.py. Any input date was being reset to the current date. Also, I think that the logic should remain in the function for creating a user in the model page, not the controller.