...
|
...
|
@@ -94,7 +94,7 @@ exports.getSearchData = (params, channel) => { |
|
|
|
|
|
let filters = Object.assign(searchHandler.handleFilterDataAll(result[2].data, params),
|
|
|
finalResult.search.leftContent.sort);
|
|
|
let termsSuggestion = _.get(result[2],'data.suggestion.terms_suggestion',false);
|
|
|
let termsSuggestion = _.get(result[2], 'data.suggestion.terms_suggestion', false);
|
|
|
|
|
|
filters.checkedConditions.conditions = _.concat(filters.checkedConditions.conditions,
|
|
|
finalResult.search.leftContent.checked);
|
...
|
...
|
@@ -119,7 +119,7 @@ exports.getSearchData = (params, channel) => { |
|
|
suggestSecond: finalResult.search.suggestSecond
|
|
|
});
|
|
|
|
|
|
if(finalResult.search.changedQuery === 'Y') {
|
|
|
if (finalResult.search.changedQuery === 'Y') {
|
|
|
finalResult.search.suggestFirst = finalResult.search.suggest[0];
|
|
|
finalResult.search.suggestSecond = _.reverse(_.slice(_.reverse(finalResult.search.suggest)));
|
|
|
}
|
...
|
...
|
|