#set( $resultdetail = $searcherManager.getSearcher("$content.catalogid", "$content.searchtype").getDetailsForView("$content.searchtype/resultdetail", $user)) #set( $resultdetail = $translations.filter($resultdetail, $context) ) #if($content.isPropertyTrue("showactions") || $content.isPropertyTrue("showselections"))
$pages.include("/${content.searchhome}/selections/togglepage.html")
#end
#if( !$hits.isEmpty() ) #foreach( $detail in $resultdetail ) #end #if($content.isPropertyTrue("showselections")) #end #set($count = 0) #foreach ( $cell in $hits.getPageOfHits() ) $context.putPageValue('data', $cell) $context.putPageValue('cell', $cell) #set( $clink = "$home${content.linkprefix}${cell.id}${content.linksuffix}") #foreach( $detail in $resultdetail ) #end #if($content.isPropertyTrue("showselections")) #end #set($count = $count + 1) #end
$detail.text $pages.include("/${content.searchhome}/selectionactions.html", $context)
$context.putPageValue('val', $!cell.get($detail.id)) $context.putPageValue('detail', $detail) $pages.include("/${content.searchhome}/cell.html", $context)
$pages.include("/${content.searchhome}/link.html", $context)
#end
$pages.include("/${content.searchhome}/actions.html", $context)