$context.putPageValue("assetrootfolder", "/$catalogid/assets") #if( !$thumbsize ) #set( $thumbsize = "thumb" ) #end #if( $category ) #set( $catid = $category.id ) #else #set( $catid = "index" ) #end #if ( $hits && $hits.size() > 0 ) #set( $details = $mediaarchive.getAssetSearcher().getDetailsForView("asset/resultstable",$context.getUserProfile()) ) $context.putPageValue("details",$details)
#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
##if( $category ) ##

$category

##end
#if( $hits ) $hits.size() [[assets]]#end $pages.include("$apphome/components/results/pages.html",$context)
#end


#if ( $hits.totalPages == 0 )

[[No results found.]]

#end