$context.putPageValue("showhover", "false") $context.putPageValue("showcaption", "true") $context.putPageValue("hideheader", "true") #set( $downloadsearcher = $mediaarchive.getSearcher("librarycollectiondownloads") ) #set( $downloads = $downloadsearcher.query().match("librarycollection",$librarycol.getId()).sort("date").search() ) #if(!$category) #set($categoryid = $context.getRequestParameter("categoryid")) #if($categoryid) #set($category = $mediaarchive.getData("category",$categoryid)) #if($category) $context.putPageValue("category",$category) #end #end #end ###always go to index - don't care about resultview #if($hits.size() == 0 && $mediaarchive.isCatalogSettingTrue("autopopulatecollections")) $pages.include("$apphome/components/results/header.html",$context) $pages.include("$apphome/components/createmedia/copycategory/index.html?autorun=true", $context) #else
$pages.include("$apphome/components/results/index.html",$context)
#end