Hmm the report stopped working after midnight. Probably doesn't respect the day starting at 7 am in the settings.
So I edited the filter from:
- Code: Select all
player.id_player in (SELECT p.id_player from player p, cash_hand_player_statistics chps where p.id_player = chps.id_player and date_trunc('day', now()) < chps.date_played)
to:
- Code: Select all
player.id_player in (SELECT p.id_player from player p, cash_hand_player_statistics chps where p.id_player = chps.id_player and date_trunc('day', now() - INTERVAL '7 HOURS') < chps.date_played)
Boom! Now "today's" stats are still showing even though it's past midnight and will keep working until the morning.