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
[x] Fix get_rating_statistics()
[x] Update film list caches when changing rating
[x] In Results view, make clear when the current film is hidden in the Film List View
[x] In Results view, include removing all filters in the link to the current film, if filtering hides it in film list
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
get_rating_statistics()