“per-game” Player Statistics are wrong for bench players (Basketball)
-
Hi there,
For some reason per-game player statistics (e.g. PPG – Points Per Game) calculations are incorrect for bench players. I have clean installation with only
– Rookie theme
– SportsPress 2.6.20
– SportsPress for Basketball 0.9.1How to reproduce the bug:
- Navigate to Games > Your Game
- Select any player and set Bench status for him.
- Navigate to Player > Your Player and check Statistics table. As an example, PPG will be calculated based on started games only (see screenshot https://take.ms/Hrnze ). In our case the player has 41 points and played in 2 games (1 started, 1 bench), but PPG is 41 and calculated based on only started games.
I’ve checked SportsPress > Configure and got the following (see screenshot https://take.ms/hgqX6 )
PPG = PTS / eventsplayed
see screenshot https://take.ms/UJn45
So, I believe that something wrong with Played/eventsplayed variables which calculates only started games, not bench.
Hope it can be easily fixed.
Thanks in advance!
Ramzesimus
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘“per-game” Player Statistics are wrong for bench players (Basketball)’ is closed to new replies.