gcivil-nyu-org / wed-fall24-team2

4 stars 2 forks source link

[Bug] - Problem with the date range in the filter functionality. #186

Open rsc1102 opened 15 hours ago

rsc1102 commented 15 hours ago

Description When using the filter functionality, for the date range the user can provide the "FROM" value to be greater than the "TO" value.

Steps to Reproduce

  1. Open the filter panel.
  2. Set the FROM date in the future.
  3. Set the To date in the past.
  4. Click on "Apply filters".

Expected Behavior There should be a warning that the date range is incorrect.

Screenshots or Code Snippets (required) image

The result of clicking "Apply filters": image

Additional Context I believe this bug is different than the known bug described in the testing party document: image If I am mistaken, please close the issue.

soniasusanto commented 13 hours ago

This is valid, thanks. We should be doing some date validation here.