Sorry, something went wrong.
SHOW DETAILS HIDE DETAILS
Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types.Template ‘~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_StaffDirectory.js’ not found or has syntax errors. (LoadTemplate: ~sitecollection/_catalogs/masterpage/Display Templates/Search/Group_Default.js)
<!–#_
if(has_uEmail == true) {
_#–>_#= uEmail =#_<!–#_
}
_#–>
var has_uEmail = !$isEmptyString(ctx.CurrentItem.WorkEmail);
So using a variable that hasn’t been defined is causing SharePoint on Office 365 not to compile the html version of the display template into a JavaScript version of the same.