LC
03/09/2022, 6:04 PMdefineSearchMasterOptions()
but to have it work on the SCA version 2020.2??? Is there any example for that specific version of SCA?Steve Goldberg
03/09/2022, 6:10 PMvar facetsConfig = require('SC.Configuration').get('searchApiMasterOptions.Facets');
_.extend(facetsConfig, {
'facet.exclude': 'custitem31'
});
Steve Goldberg
03/09/2022, 6:11 PMLC
03/09/2022, 6:29 PMLC
03/09/2022, 9:15 PMSteve Goldberg
03/10/2022, 11:07 AMSession.getSearchApiParams = _.wrap(Session.getSearchApiParams, function (fn)
{
var params = fn.apply(this, _.toArray(arguments).slice(1));
params.custitem31 = 'red';
return params
});
LC
03/10/2022, 2:41 PM