|
#if( $parenthits )
#set( $rootid = $parenthits.sessionId ) ##what is this for?
#else
#set( $rootid = $hits.sessionId )
#end
#if( $category )
#set( $catid = $category.id )
#else
#set( $catid = "index" )
#end
#foreach ($hit in $hits.getPageOfHits())
#set( $count = $hits.getPage()+-1 )
#set( $count = $count*$hits.getHitsPerPage() )
#set( $count = ${foreach.count} + $count )
$context.putPageValue("hitindex",$count )
#set ($sourcepath = $hit.sourcepath)
$context.putPageValue("cell", $hit)
#set( $type = $mediaarchive.getMediaRenderType($hit.fileformat))
$context.putPageValue("type", $type)
#set( $click = "$home$apphome/views/assets/${sourcepath}/index.html?categoryid=$catid&hitssessionid=$rootid" )
$context.putPageValue("clink", $clink)
#end
$pages.include("$apphome/components/results/thumbnails/${type}.html", $context)
#if( $showcaption )
#set( $count = $hits.parseInt($hit.get("assetvotes")) )
#if( $count > 0 ) #showStars($count) #end
#if( $hit.assetviews )$hit.assetviews views#end
|
[[No results found.]]
#end