Skip to content

Leaderboard filter for week shows custom range instead of the correct week #323

Open
@FelixTJDietrich

Description

@FelixTJDietrich

Describe the bug

Select week often shows "Custom range" even though I did not set one by going to https://hephaestus.aet.cit.tum.de
The "current week" is also not displayed correctly

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://hephaestus.aet.cit.tum.de
  2. See "Select week" dropdown
  3. It shows "Custom range" even though I did not manually edit the url

Expected behavior

  1. Going to Hephaestus should always go to and show "Current week" when there are no query parameters set.
  2. When there are query parameters set and they match the week start and end it should just display the selected week instead of just custom range. The matching often does not work.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions