riparias / gbif-alert

GBIF Alert is a GBIF occurrence based alert system.
https://gbif-alert-demo.thebinaryforest.net/
MIT License
8 stars 2 forks source link

keep dataset titles updated in dropdown menu and occurrence page #183

Closed damianooldoni closed 1 year ago

damianooldoni commented 1 year ago

If a dataset is republished (= no changes in datasetKey) with a change in datasetTitle value, the occurences belonging to this dataset still show the old dataset title. The same holds true for the dropdow menu showing all datasets present in the db.

I solved this manually by changing the name via admin panel -> dataset. Even if this doesn't happen very often, still there are a lot of datasets and maintaining the list times to times is very time consumming. So, it would be nice to have this automatically checked at each import. I think it can be done by retrieving all distinct values of column datasetName and then populate the frontend values, right?

niconoe commented 1 year ago

This is now implemented!