#set( $moduleid = "storeOrder") #set( $searchhome = $context.findValue("searchhome") ) #set( $view = "${moduleid}/${moduleid}advancedsearch") #set( $searcher = $searcherManager.getSearcher("$content.catalogid", "${moduleid}") ) $context.putPageValue("caneditlists","false") $context.putPageValue("view", $view) $context.putPageValue("searcher", $searcher) #set($usestartswith = $page.isPropertyTrue('usestartswith')) $context.putPageValue("usestartswith",$usestartswith) #if($customers)
#end #set($details = $searcher.getDetailsForView($view)) #foreach( $detail in $details) #if(! ($customers && $detail.id == "customer")) $context.putPageValue("detail", $detail) #if ($detail.isLeaf()) $pages.include("/${applicationid}/components/advancedsearch/detailedit.html", $context) #else $pages.include("/${applicationid}/components/advancedsearch/section.html", $context) #end #end #end