#set( $hits = $orderassets)
$context.putPageValue("assetrootfolder", "/$catalogid/assets")
#set( $thumbsize = $context.findValue("thumbsize") )
#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)
#end
#if ( $hits.totalPages == 0 )
[[No results found]].
#end