#set( $moduleid = $context.findValue("module") ) $context.putPageValue("caneditlists","false") #set($cat = $context.findValue("category.value")) #if(!$cat) #set($cat = $context.findValue("catid")) #end #if(!$cat) #set($cat = $context.findValue("categoryid")) #end #if(!$cat) #set($cat = $context.findValue("category-exact.value")) #end #if($cat) #set($category = $testbench.getCategory($cat)) #end #if(!$targetdiv) #set($targetdiv= "#resultsdiv") #end #set( $view = "${moduleid}/${moduleid}advancedsearch") #set( $searcher = $searcherManager.getSearcher("$content.catalogid", "${moduleid}") ) #set($usestartswith = $page.isPropertyTrue('usestartswith')) $context.putPageValue("view", $view) $context.putPageValue("searcher", $searcher) $context.putPageValue("usestartswith", $usestartswith) #if (!$details && $userprofile) #set ($details = $testbench.getDetailsForView($view)) #end
#if($hits.getSearchQuery()) #set($descrip = "$!{hits.getSearchQuery().getInput('description')}") #end
#foreach( $detail in $details ) $context.putPageValue("detail", $detail) $pages.include("$apphome/components/inlinesearch/filter-dropdown.html", $context) #end
#set ($resultview = $userprofile.get("${moduleid}resultview")) #if(!$resultview) #set($resultview = $userprofile.get("resultview")) #if (!$resultview) #set($resultview = "table") #end #end #set ($resultview = $userprofile.get("${moduleid}resultview")) #if(!$resultview) #set($resultview = $userprofile.get("resultview")) #if (!$resultview) #set($resultview = "table") #end #end #set( $types = $mediaarchive.query("resulttype").orgroup("module", "all $moduleid").search())