SearchClient.multipleQueries() does not return queryID in SearchResponse objects
matt-alltrails opened this issue Β· comments
Describe the bug π
When using the SearchClient.multipleQueries()
function, the SearchResponse
objects for the queries have a nil queryID
property. We need this value to implement click tracking.
To Reproduce π
Steps to reproduce the behavior:
- Create multiple queries, and submit them via
SearchClient.multipleQueries()
- Check for a
.success
result and extract the searchResponse, set a breakpoint here - Inspect the SearchesResponse object. Open up the child results, and note that the
queryID
property is nil
Expected behavior π
The child SearchResponse objects should have a populated queryID
property that we can then use for click tracking.
Screenshots π₯
If applicable, add screenshots to help explain your problem.
Environment:
- OS: iOS, Swift
- Version: 8.10.0
Additional context
Add any other context about the problem here.
This was completely my mistake, I didn't have click tracking turned on in the queries. Sorry for the distraction! I am closing this issue.