weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 1 forks source link

Ranking URL region filter gets lost #97

Closed frantzheld closed 3 years ago

frantzheld commented 3 years ago

Describe the bug The URL gets updated, when a region filter is applied for the ranking, e.g. ?region=DE_NI When refreshing the page or opening the URL in a new window the filter gets lost.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://beta.weglide.org/ranking/dmst?season=2020&category=pilot&user=ALL&sc_class=ALL
  2. Enter region
  3. See that region is added to URL, e.g.: https://beta.weglide.org/ranking/dmst?region=DE_NI&&season=2020&category=pilot&user=ALL&sc_class=ALL
  4. Refresh page or Copy URL to new window
  5. See that region is lost

Expected behavior Region filter should be applied when loading an URL containing e.g. ?region=DE_NI

samuel-git commented 3 years ago

Confirmed, thanks.

samuel-git commented 3 years ago

Fixed for next release. New url structure opens the way for sophisticated ranking filters similar to list filters.