Sorry, I thought you were referring to the `isLoading` function. They are both different. The one in `results_table.js` sets fetch_results to null while the one in `search.js` clears debounced query because `search.js` uses fetch_results to check if the query is empty or not.