AmphibiaWeb / amphibian-disease-tracker

Amphibian Disease Tracker Portal
GNU General Public License v3.0
6 stars 0 forks source link

Download Raw data requires page refresh to get correct file #303

Open jdeck88 opened 6 years ago

jdeck88 commented 6 years ago

If i upload new data for a project and then go directly to attempt to download data on the page, it gives me the state of the project data before i uploaded the new data. If i do a page refresh i get the correct copy.
Preferred behaviour is to require a page refresh to get the most recently uploaded data.

tigerhawkvok commented 6 years ago

Untested fix put up at https://github.com/AmphibiaWeb/amphibian-disease-tracker/commit/887a574db764a361c5a56129eb85a2ca2457d0ae with updating the data-href attribute of the downloader when finalize() is successfully called on a data update