#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
$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