[Plugin: LeagueManager] Result table sorting order is wrong
-
Hi there,
first of all – thanks a lot for this great plugin!
We are using it for a volleyball hobby league.
But for some reason the table has a wrong sorting order.
For a win a team gets 2 points, there is no tie and for a loss -2 points.
(e.g. two games won & one game lost the points would be: 4:2)The soring order we agreed on:
1.) Difference of points
2.) Difference of sets
3.) Difference of ballpoints
4.) Higher number of won points
5.) Higher number of won sets
6.) Higher number of won ballpointsKind of sport is set to “volleyball” and I am using the custom point rule.
The first three teams in the table have the following results:
Team A: 10:2 points, 15:7 sets, 505:393 ballpoints
Team B: 10:2 points, 16:5 sets, 496:397 ballpoints
Team C: 10:2 points, 16:5 sets, 481:397 ballpointsSo the order should be
Team B
Team C
Team Abut it isn′t.
What is going on?
I don′t see our mistake.I already tried to change the ranking order in the volleyball.php file by inserting a new variable for the points_diff and change the multisort array.
Now it looks like this (but it doesn′t have any effect):[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Can anybody help me?
Thanks
- The topic ‘[Plugin: LeagueManager] Result table sorting order is wrong’ is closed to new replies.