#set( $view = $context.getRequestParameter("view") ) #if( !$view ) #set( $view = "${searcher.searchType}/${searcher.searchType}search.xml") #end $context.putPageValue("hits",$datalist) #if( $view ) #set( $details = $searcher.getDetailsForView($view, $userprofile) ) #else #set( $details = $searcher.getSearchProperties($user) ) #end #if(!$details) #set( $view = "${searcher.searchType}/${searcher.searchType}results.xml") #set( $details = $searcher.getDetailsForView($view, $userprofile) ) #if(!$details) #set( $details = $searcher.getStoredProperties() ) #end #end $context.putPageValue("details",$details)
| $detail.getText($context) #if ($sortby.startsWith($detail.getId())) #if($sortby.endsWith("Up")) #set($sorticon="down") #else #set($sorticon="up") #end #end | #end
|---|
| $context.putPageValue('val', $!hit.get($detail.id)) $context.putPageValue('detail', $detail) #if($detail.viewType == "html") $context.putPageValue('viewtype', "htmlescaped") #end $pages.include("$apphome/components/search/cell.html", $context) | #end
[[Found]] $!datalist.size() [[Records]]
#set( $thispage = $datalist.getPage()+-1) #set( $start = $datalist.getHitsPerPage() * $thispage ) #set( $end = $start + $datalist.getPageOfHits().size() ) #set( $start = $start + 1)