weglide / bugtracker

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

Sorting order of flights in club ranking is not consistent #54

Closed CarstenSon closed 3 years ago

CarstenSon commented 3 years ago

Describe the bug In the club rankings (Sprint and Plus) the sorting order of the flights is not consistent or not given. According to my tests, the problem does not occur in the individual and club overall rankings.

To Reproduce Steps to reproduce the behavior:

  1. Choose DMSt or Plus scoring
  2. Set Category = club
  3. see different or missing sorting orders of clubs rankings

Expected behavior The flights shown should be listed in descending order - analogous to the individual scores from left to right. This is also the way it is used by other well-known portals.

Screenshots n/a

Device (please complete the following information): occured on all tested devices

samuel-git commented 3 years ago

Confirmed! Affects order of flights in one ranking.

moldhouse commented 3 years ago

Thanks for reporting. Sorting was based on user_id which is probably not the expected behaviour :) Will be fixed in next release.

CarstenSon commented 3 years ago

The Problem persists in the current release in the DMSt-"club"-ranking of 2020. Is it already patched or will it go live with the next release or this afternoon?

moldhouse commented 3 years ago

Frontend and backend are deployed separately - we will try to deploy tonight.

CarstenSon commented 3 years ago

Alright! Thanks a lot for the fast response and have wonderful day!

CarstenSon commented 3 years ago

Hey @moldhouse,

I just checked and everything looks good now in the DMSt ranking.

But what I noticed is that the club ranking for the plus ranking still has the same problem. Maybe you can reuse the problems solution of the DMSt ranking for the Plus ranking?

grafik

moldhouse commented 3 years ago

I think it works now :)

CarstenSon commented 3 years ago

I think so too!

Great to see and thanks! 👍