Standings module columns "Draw" and "Games Played"

twoccer , February 16 2022, 10:52
T
twoccer 16
February 16 2022, 10:52 #231
Hi There,
I'm setting up the standings module and would like to set one column to "draw". So it would show the number of times a team played a game that ended in a draw. I thought it would be the "Tie" option, but it does not seem to be same as a draw.
Another column I would like to show is "games played" to show the number of games the team has played during a season. The "games" option seems to show the total number of games (played and unplayed).
Is it correct that there are no "draw" and "games played" column options?
Also, I've set the league settings to 3 points for a win, 1 point for a Tie, and 0 points for a loss, but the standings module does not reflect these settings. It gives 1 point for a win and points even get into negative (-1). The Tie points also don't reflect the settings.
Am I missing something here perhaps?
marco 467
February 18 2022, 09:38 #232
hi twoccer
yeah it llooks like there is a problem with the game field - there should be an additional option available in the module settings to define if it should display all games or past games aswell as "only finished games" (games that are marked as "finished" in the component. I will have a look into it and bring an update in the next days. Currently it counts EVERY game listed for this team in a given season / phase (played and upcoming) this is also a feature of this field but should not be the only one i have to check what is going on there.
About "draw" column - yes the "Tie" means a column where the module counts the number of games where home / visitor played even (scorepoints). In my demo it is working what happens on your side? Does it count too much games or nothing?
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
February 18 2022, 21:29 #233
Hi Marco,
Thanks for your reply.
The tie/draw column gives a high number even though there was only one draw (see screenshot)
For 4 games there were 3 wins and 1 draw, the "win" and "lose" show correctly here, but in the draw section, it shows many draws.
Also, the "goals for" and "goals against" show correctly, but the (overall) points do not show correctly. (settings are 3 points for a win, 1 point or a draw, and 0 points for a loss.
Screen_Shot_2022-02-19_at_10.21.07_AM.jpg
Attachments
Screen_Shot_2022-02-19_at_10.11.05_AM.png
(25.71 KiB)
11 Downloads/Views
Screen_Shot_2022-02-19_at_10.21.07_AM.jpg
(25.37 KiB)
11 Downloads/Views
Screen_Shot_2022-02-19_at_10.21.07_AM.jpg
(25.37 KiB)
16 Downloads/Views
marco 467
February 22 2022, 11:02 #237
 Answer
Hi twoccer
I've recently released an update (version 1.1) where the "Auto" Check for past games is now inactive - there was some kind of "logic" in the code which checks if the game was played or not if it was in the past or not and so on. And additionaly the module had to load all games (past and future) to build up the whole list of teams for a season - i've found multiple smaller issues in the code that ended up into counting upcoming games too (as 0:0 which resulted in a draw) - thats why the games counter and the Tie counter where incorrect. Long story short answer: there are now temporary additional filters added to define which games should be loaded - by default all "old" games are now counted. - BUT this is just a "quick" fix because that way it lists only teams that already have played a game. All teams that does not have played a game in the selected season will not been listed.
I'm aware of this and yes it is not ok but it is for the moment better then listing wrong information - Another update will follow in the next days.

kind regards
Marco
Attachments
Bildschirmfoto_2022-02-22_um_12.01.43.png
(48.61 KiB)
10 Downloads/Views
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
February 23 2022, 06:21 #239
Great!
The tie column shows correctly now.
I also manage to show the overall points correctly, I think I made a mistake by thinking net_pts was the setting to show this, but when I changed to Eval_pts it show the correct overall points.
Thanks for your help.