Open RealSilo opened 3 years ago
In the def algolia_search function:
def algolia_search
json = algolia_raw_search(q, params) hit_ids = json['hits'].map { |hit| hit['objectID'] }
json = algolia_raw_search(q, params)
hit_ids = json['hits'].map { |hit| hit['objectID'] }
This throws an error as the hash uses symbol keys in the new version but the access uses string keys.
Just upgraded to 2.1.1. Simply use search (not raw)
Description
In the
def algolia_search
function:json = algolia_raw_search(q, params)
hit_ids = json['hits'].map { |hit| hit['objectID'] }
This throws an error as the hash uses symbol keys in the new version but the access uses string keys.
Steps To Reproduce
Just upgraded to 2.1.1. Simply use search (not raw)