maar35 / film-festival-planner

Visualise screenings of a film festival, add film ratings, plan automatically, manually maintain attendance and tickets.
0 stars 0 forks source link

Oh no, festival statistics use cached films! #354

Closed maar35 closed 4 months ago

maar35 commented 6 months ago

Summary

Function get_rating_statistics() should always use all festival films, so not use the films cache, which can contain a subset.

Extra fix

Also when having changed a rating of a short in the Results view while in the Film List view shorts are hidden, returning to the List view and unhiding shorts, the cached version is used, without the change.

Intermediate finding

It's worse: Also in the film list, when updating a rating, only the current cache is updated, while others possibly should too.

Requirements