Adapt code to new Solr config

This commit is contained in:
Gilles Crettenand
2015-06-09 14:38:18 +02:00
parent 320e2aead4
commit 1894212a5c
3 changed files with 53 additions and 19 deletions

View File

@@ -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,