#set( $showtoolbar = $page.isPropertyTrue("showtoolbar")) $context.putPageValue("showtoolbar", $showtoolbar) $context.putPageValue("showcaption", $page.isPropertyTrue("showcaption")) $context.putPageValue("resultstype", $context.getRequestParameter("resultstype")) #if( $showtoolbar ) $pages.include("$apphome/components/results/header.html",$context) #end $context.putPageValue("assetrootfolder", "/$catalogid/assets") #if( $category ) #set( $catid = $category.id ) #else #set( $catid = "index" ) #end #if ( $hits && $hits.size() > 0 ) $context.putPageValue("details",$details) #if($userprofile) #set( $details = $mediaarchive.getAssetSearcher().getDetailsForView("asset/resultstable",$userprofile) ) #else #set( $details = $mediaarchive.getAssetSearcher().getDetailsForView("asset/resultstable") ) #end $context.putPageValue("details",$details)
#set( $viewerlink = $content.get("assetviewerlink") ) $pages.include("$apphome/components/results/tableheader.html",$context) #set($count = 0) #foreach( $hit in $hits.getPageOfHits() ) $context.putPageValue("hit", $hit) $context.putPageValue("count", $count) $context.putPageValue("sourcepath", $hit.sourcepath) $pages.include("${apphome}/components/results/row.html", $context) #set($count = $count + 1) #end

$!hits.getPageStart() - $!hits.getPageEnd() [[of]] $!hits.total

$pages.include("$apphome/components/results/pages.html",$context) #else

[[No results found]]

#end