SearchKit - Prevent race conditions in search display loading
authorColeman Watts <coleman@civicrm.org>
Tue, 7 Sep 2021 18:36:58 +0000 (14:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 7 Sep 2021 18:36:58 +0000 (14:36 -0400)
commit01aaeaef03854828c9ce1742843b5343dfa0e2f3
treef14bed4e78601ef9de5c719afe55d5fa1ebfc9fe
parent28e32204d62b7ffa67250425f1c446f2399eb602
SearchKit - Prevent race conditions in search display loading

- Increases debounce timeout from 100 to 800 ms
- Internally tracks the requests to ensure that later requests always take priority
ext/search_kit/ang/crmSearchDisplay/traits/searchDisplayBaseTrait.service.js