metno / metsis-drupal

contains METNO METSIS software
GNU General Public License v3.0
0 stars 0 forks source link

Fix bug in thumbnails - first thumbnail in search results not always shows, even if it is in the index. #24

Closed magnarem closed 8 months ago

magnarem commented 1 year ago

On NBS and probably other sites too, the thumbnail picture of the first dataset in the search result is not updated to the thumbnail in the index, but shows the thumbnail placeholder. This is probably a bug somwhere in the php code. Look into this.

magnarem commented 1 year ago

had a look at this problem. Now it works as it should on multiple sites including nbs-staging and satellittdata. So hard to say what is the issue. I will see if I can reproduce locally.

magnarem commented 11 months ago

this seems to be a bit hard to reproduce all the time. Sometimes it works, other times it don't. This could have something to do with caching, as this seems to only happen in the search landing page /metsis/search, when no other filters are applied. If clicking one filter or change the sort order, the problem disappears.

Will need to investigate some more

magnarem commented 10 months ago

Lately this has not been an issue in my local setup, will test a bit more in the staging sites before closing this.

magnarem commented 8 months ago

Closing this. It seems to work now after upgrade to Drupal 10.