#set($module = $searcherManager.getData($catalogid, "module", $context.findValue("module") )) #set ( $defaultview = $userprofile.getDefaultViewForModule($module.id) ) #set($resulttype = $userprofile.get("${module.id}-display")) #if(!$resulttype) #set($resulttype = "table") #end