apiary icon indicating copy to clipboard operation
apiary copied to clipboard

Clicking reset in date range component doesn't work as intended

Open nicklasmoeller opened this issue 4 years ago • 0 comments

Describe the bug If you reset your date range on the organisations page, the website will transition to a route, namely /orgs?createdAt%5Bstart%5D=&createdAt%5Bend%5D=, which will send a network request, with an invalid payload.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://apiary.1hive.org/orgs
  2. Click on the date range component
  3. Click reset
  4. An error has occured

Expected behavior The date range filter should be reset, and all organisations should be shown, respecting any other filters.

Screenshots None. It's easily reproducible, and just showing a generic error, without breaking the application.

Desktop (please complete the following information):

  • OS: Ubuntu 18.04.3
  • Browser: Google Chrome
  • Version: 78.0.3904.108

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context N/A

nicklasmoeller avatar Nov 29 '19 05:11 nicklasmoeller