#set( $searcher = $mediaarchive.getSearcher("librarycollection") ) $context.putPageValue("searcher",$searcher) #set($targetdiv = $context.getRequestParameter("targetdiv"))
#set($viewid = "librarysearchcollection") #set($viewpath = "librarycollection/${viewid}") #set($details = $searcher.getDetailsForView($viewpath, $userprofile)) #set($hitssessionid = $context.getRequestParameter("hitssessionid")) #if($hitssessionid) #set( $hits = $context.getSessionValue($hitssessionid)) #if( $hits && $hits.getSelectionSize() > 0)
[[Adding]] $hits.getSelectionSize() [[assets to collection]]
#end #end
#if($canviewsettings) #end
$context.putPageValue("autocomplete","off") #foreach( $detail in $details)
$context.putPageValue("detail", $detail) $pages.include("/${applicationid}/components/advancedsearch/detaileditinline.html", $context)
#if( $counter == 4)
#end #end
$pages.include("$apphome/components/opencollections/searchcollectionresults.html",$context)
#if($canaddnewcollection) #if(!$targetdiv) #set($addnewurl = "$home$apphome/components/librarycollection/pickcollectionaddnew.html?searchtype=librarycollection") #else #set($addnewurl = "$home$apphome/components/opencollections/pickcollectionaddnew.html?searchtype=librarycollection&targetdiv=$!{targetdiv}&library.value=$!library.getId()") #end [[Create New Collection]] #end