22 lines
451 B
Text
22 lines
451 B
Text
#**
|
|
* Render the main Results List
|
|
*#
|
|
|
|
## Usually displayed inside <div class="results">
|
|
|
|
#if($response.response.get('grouped'))
|
|
|
|
#foreach($grouping in $response.response.get('grouped'))
|
|
#parse("hit_grouped.vm")
|
|
#end
|
|
|
|
#else
|
|
|
|
#foreach($doc in $response.results)
|
|
#parse("hit.vm")
|
|
## Can get an extremely simple view of the doc
|
|
## which might be nicer for debugging
|
|
##parse("hit_plain.vm")
|
|
#end
|
|
|
|
#end
|