#if ( $hits.size() == 0 ) No results found #else #if(!$view) #set($view = $context.getRequestParameter('view')) #end $context.putPageValue("view", $view) #if(!$resultdetail) #set( $resultdetail = $searcher.getDetailsForView($view, $userprofile)) #end ##set ( $canedit = $context.getPageValue("${moduleid}edit") )
#if($showactions) #end #set( $sortby = $hits.getSearchQuery().getSortBy() ) #foreach( $detail in $resultdetail ) #end #set( $even = true ) #set($count = 0) #foreach ( $cell in $hits.getPageOfHits() ) $context.putPageValue('data', $cell) $context.putPageValue('cell', $cell) #set($args = "id=${cell.id}&hitssessionid=${hits.sessionId}&searchtype=$searcher.getSearchType()") #if($clink.contains("?")) #set($start = "&") #else #set($start = "?") #end #if($showactions) #end #foreach( $detail in $resultdetail ) #end #set($count = $count + 1) #end
#text( $detail.text ) #if( $edit) #end
$context.putPageValue('val', $!cell.get($detail.id)) $context.putPageValue('detail', $detail) $pages.include("$apphome/components/moduleresults/cell.html", $context)
#if($showactions) ##
$pages.include("$apphome/components/moduleresults/selections/togglepage.html")
#end
#end