$context.putPageValue("thumbsize", "mediumplus" ) #if( $category && $category.hasChildren())
#foreach( $hit in $category.getChildren()) #set($type = "category")
$context.putPageValue("hit", $hit) $pages.include("$apphome/components/grid/types/category.html", $context)
#end
#end #if( $modulehits.isEmpty() && $category && $category.hasChildren()) #else
$modulehits.size() [[Results Found]]
#end
#foreach( $hit in $modulehits.getPageOfHits()) #set($type = $hit.getSearchHit().getType())
#if ($type == "asset" || $type == "project" || $type == "task" || $type == "people" || $type =="librarycollection" || $type=="category") #set($includetype = $type) #else #set($includetype = "default") #end $context.putPageValue("hit", $hit) $pages.include("$apphome/components/grid/types/${includetype}.html", $context)
#end