#set($view= $context.getRequestParameter("view")) #if( $context.getUserProfile() ) #set ($details = $searcher.getDetailsForView($view, $context.getUserProfile())) #else #set ($details = $searcher.getDetailsForView($view)) #end #if( !$details) No details available for this view. Please configure your view settings. #end $context.putPageValue("details",$details)
#foreach( $detail in $details) $context.putPageValue("detail", $detail) $context.putPageValue("searchform", true) #set( $value = "$!hits.getSearchQuery().getInput($detail.id)" ) #set( $values = $hits.getSearchQuery().getInputs($detail.id) ) #set( $term = $hits.getSearchQuery().getTermByDetailId($detail.id) ) $context.putPageValue("term",$term) $context.putPageValue("val",$value) $context.putPageValue("values",$values) $context.putPageValue("data",$hits.getSearchQuery()) $pages.include("/${applicationid}/components/advancedsearch/detailedit.html", $context) #end
#if ( $hits && $hits.size() > 0 ) $pages.include("$apphome/components/xml/inline/tableheader.html",$context) #foreach( $hit in $hits.getPageOfHits() ) $context.putPageValue("hit", $hit) $context.putPageValue("count", $count) $context.putPageValue("sourcepath", $hit.sourcepath) $pages.include("${apphome}/components/xml/inline/row.html", $context) #end

$!hits.getPageStart() - $!hits.getPageEnd() [[of]] $!hits.total

$pages.include("$apphome/components/xml/inline/pages.html",$context) #else

[[No results found]]

#end