#set($moduleid = $context.findValue("module")) #set($defaultview = $userprofile.getDefaultViewForModule($moduleid)) #set($searchhome = $context.findValue("searchhome")) #set($resulttype = $userprofile.get("${moduleid}resultview")) #if(!$resulttype) #set($resulttype = "table") #end
#foreach ($hit in $hits.getPageOfHits()) $context.putPageValue("hit", $hit) #set($sourcepath = $hit.sourcepath) #set($imagesize = "image300x300.webp") #set($img = $mediaarchive.asLinkToPreview($hit, $librarycol.id, $imagesize, true)) #set($clink = "$home$content.searchhome/edit/index.html?id=$hit.id") #end
#if($hits.size() == 0 && $cat) #end #if($hits.size() == 0 && !$cat) #end $pages.stream("/${content.searchhome}/navigate.html", $context)