This PR fixes an issue with UserActivityManager.on_query_results getting inconsistent data. The results field can contain either a list of dicts or database objects, depending on where the search results are coming from (i.e., remove/local results). This PR fixes this by ensuring results always contain a list of dicts.
This PR fixes an issue with UserActivityManager.on_query_results getting inconsistent data. The results field can contain either a list of dicts or database objects, depending on where the search results are coming from (i.e., remove/local results). This PR fixes this by ensuring results always contain a list of dicts.