@olasearch/solr-adapter
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -43,2 +43,6 @@ 'use strict'; | ||
var _FacetSort = require('./dsl/FacetSort'); | ||
var _FacetSort2 = _interopRequireDefault(_FacetSort); | ||
var _FacetQuery = require('./dsl/FacetQuery'); | ||
@@ -228,9 +232,8 @@ | ||
case 'facet_query': | ||
var facet = params[name]; | ||
var selectedFacetNames = facet.map(function (_ref4) { | ||
var selectedFacets = params[name]; /* Active facets */ | ||
var selectedFacetNames = selectedFacets.map(function (_ref4) { | ||
var name = _ref4.name; | ||
return name; | ||
}); | ||
var selectedValue = (0, _FacetQuery.buildFacetQuery)(facet); | ||
var selectedValue = (0, _FacetQuery.buildFacetQuery)(selectedFacets); | ||
/** | ||
@@ -249,2 +252,5 @@ * Check for defaultValue | ||
/* Add sort values */ | ||
str = (0, _concat2['default'])(str, (0, _FacetSort2['default'])(facets)); | ||
/** | ||
@@ -251,0 +257,0 @@ * Add filter query |
'use strict'; | ||
module.exports = '2.0.2'; | ||
module.exports = '2.0.3'; |
{ | ||
"name": "@olasearch/solr-adapter", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "OlaSearch adapter for Solr", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
273984
31
1641