Adapt code to new Solr config
This commit is contained in:
@@ -44,10 +44,11 @@ class Html extends Formatter {
|
||||
$title = $func;
|
||||
|
||||
$content = '';
|
||||
$after = '';
|
||||
|
||||
if($func == 'NewSearch') {
|
||||
$content .= '<p>Count : '.$data['count'].'</p>';
|
||||
$content .= '<p>Facets : '.print_r($data['facets'], true).'</p>';
|
||||
$after .= '<p>Extra : <pre>'.print_r($data['facets'], true).'</pre></p>';
|
||||
|
||||
unset($data['count']);
|
||||
unset($data['facets']);
|
||||
@@ -85,7 +86,7 @@ class Html extends Formatter {
|
||||
$content .= '</tr>';
|
||||
}
|
||||
}
|
||||
$content .= '</tbody></table>';
|
||||
$content .= '</tbody></table>'.$after;
|
||||
|
||||
return array(
|
||||
'title' => $title,
|
||||
|
||||
Reference in New Issue
Block a user