#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 $context.putPageValue("details",$details) #set( $view = "${searcher.searchType}/${searcher.searchType}results.xml") #set( $details = $searcher.getDetailsForView($view, $userprofile) ) #if(!$details) #set( $details = $searcher.getStoredProperties() ) #end $context.putPageValue("details",$details)
$pages.include("$apphome/views/settings/lists/datamanager/list/actions.html", $context)
#set( $sortby = $datalist.getSearchQuery().getSortBy() ) #foreach( $detail in $details ) #end #set( $origURL = $context.getRequestParameter("origURL" ) ) #foreach ( $hit in $datalist.getPageOfHits() ) $context.putPageValue('data', $hit) $context.putPageValue('cell', $hit) #foreach( $detail in $details ) #end #end
$detail.getText($context) #if ($sortby.startsWith($detail.getId())) #if($sortby.endsWith("Up")) #set($sorticon="bottom") #else #set($sorticon="top") #end     #end
$context.putPageValue('val', $!hit.get($detail.id)) $context.putPageValue('detail', $detail) $pages.include("$apphome/components/search/cell.html", $context)
#if ( $datalist.totalPages == 0 ) #elseif( $datalist.totalPages == 1 ) #elseif( $datalist ) #set($thispage = $datalist.getPage()) [[Page]] $thispage [[of]] $datalist.totalPages    #if( $datalist.prevPage() ) << [[Back]] #end #if ( $datalist.nextPage() ) [[Forward]] >> #end #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)