algoliasearch-helper
Advanced tools
Comparing version
{ | ||
"name": "algoliasearch-helper", | ||
"version": "2.6.6", | ||
"version": "2.6.7", | ||
"homepage": "https://github.com/algolia/algoliasearch-helper-js", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "algoliasearch-helper", | ||
"version": "2.6.6", | ||
"version": "2.6.7", | ||
"description": "Helper for implementing advanced search features with algolia", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -323,2 +323,8 @@ 'use strict'; | ||
var attributeIndex = findIndex(this.hierarchicalFacets[position], {attribute: dfacet}); | ||
// previous refinements and no results so not able to find it | ||
if (attributeIndex === -1) { | ||
return; | ||
} | ||
this.hierarchicalFacets[position][attributeIndex].data = merge({}, this.hierarchicalFacets[position][attributeIndex].data, facetResults); | ||
@@ -325,0 +331,0 @@ } else { |
'use strict'; | ||
module.exports = '2.6.6'; | ||
module.exports = '2.6.7'; |
Sorry, the diff of this file is not supported yet
184305
0.12%3373
0.12%