Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

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

@nicklasmoeller

Description

@nicklasmoeller

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions