dasch-swiss / beol

Bernoulli-Euler OnLine
https://beol.dasch.swiss
GNU Affero General Public License v3.0
0 stars 1 forks source link

search results: reinit correctly #72

Closed tobiasschweizer closed 5 years ago

tobiasschweizer commented 5 years ago

When displaying search results, the lists has to be reinitialized correctly when a new search is done.

This PR also addresses the problem of unclosed subscriptions to the service ExtendedSearchParams. They were never closed after doing an extended search and hence the previous queries were still executed. Since all of this happens asynchronously, the wrong results could be assigned to the result list.

tobiasschweizer commented 5 years ago

I writing some tests now, mocking the behaviour of extended search service.