geocollections / sarv-workbench

SARV-Workbench: Data management application for geoscience database SARV.
https://edit.geocollections.info
0 stars 0 forks source link

Filters do not reject previous request when newer one made #838

Closed Erikdzo closed 8 months ago

Erikdzo commented 8 months ago

When typing in a filter and pausing for a some time and then continuing to type, a race condition can happen. Where the newer request finishes before the older one and after the older request finishes the results are overwritten. Resulting in the page showing wrong results.

Ex. go to sample search, type "Kärla" into locality filter. Sometimes the wrong result is displayed based on the time it takes to finish the requests and users typing speed.