#set( $view = "order/ordersearch") #set( $searcher = $searcherManager.getSearcher($catalogid,"order")) $context.putPageValue("view", $view) $context.putPageValue("searcher", $searcher)

[[Activity Search]]

#set($usestartswith = $page.isPropertyTrue('usestartswith')) $context.putPageValue("usestartswith",$usestartswith) #set( $edit = $context.getRequestParameter("editadvsearch"))
##We need 2 things passed in: $searcher, $view or $searcher $details #if (!$details && $view) #set ($details = $searcher.getDetailsForView($view, $userprofile)) #end #foreach( $detail in $details) $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
#if ($edit == "true")

##TODO: Pass this view name in #set ($alldetails = $searcher.getDetailsForView("asset/searchselect", $user))
[[Done]]
#else
#end