Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
mapIaTypes(listData) {
var map = {};
map[myCompany.myProject.constants.search.refiners.bidReport.label] = {
"RefinerName": myCompany.myProject.constants.search.refiners.bidReport.refinerName,
"RefinementValues": myCompany.myProject.constants.search.refiners.bidReport.refinementValues
};
map[myCompany.myProject.constants.search.refiners.essentialsHelp.label] = {
"RefinerName": myCompany.myProject.constants.search.refiners.essentialsHelp.refinerName,
"RefinementValues": myCompany.myProject.constants.search.refiners.essentialsHelp.refinementValues
};
//the rest other parts of the mapResultType function taken from the item level search results refiner template
...
//skip to the end..
return retListData;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment