Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
if (ctx.RefinementControl.propertyName == "FileType") {
...
}
//because we have intrinsically mapped the "SPSiteURL" to the refiner, we only need to ask for the Path refinement to be removed
if (ctx.RefinementControl.propertyName === "SPSiteURL" && ctx.RefinementControl.overrideDisplayName === "Workspace") {
refinersAll["Path"] = null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment