web icon indicating copy to clipboard operation
web copied to clipboard

Album preview shows wrong number of total images

Open davidkrantz opened this issue 5 years ago • 0 comments

The preview of an album did not display the correct number of total images. I was however able to fix it by simply making some change to the album and updating it. I think that the reason why this fixed the problem is due to the fact that when more images are added to an album, the album object itself is not updated (or at least not trigger a reload of the cached album object). This will then result in album.images.count not returning the correct number of images. When I updated the album object, the cache album was reseted, resulting in album.images.count returning the expected number of total images.

davidkrantz avatar Feb 20 '20 21:02 davidkrantz