Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
if (ctx.RefinementControl.propertyName == "FileType") {
...
//for each managed property used in the refinement, we need to make sure they are reset when the "Show All" link is clicked
} else if (ctx.RefinementControl.propertyName == "SPSiteURL" && ctx.RefinementControl.overrideDisplayName == "MyRefinerName") {
refinersAll["SPSiteURL"] = null;
refinersAll["ContentTypeId"] = null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment