display search performances

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2012-10-30 18:04:23 +01:00
parent 65ea77dea2
commit 2248bfd12e

View File

@ -32,25 +32,15 @@
?>
<?php //dsm($index, 'index'); ?>
<?php //dsm($items, 'items'); ?>
<?php //dsm($search_performance, 'search_performance'); ?>
<?php if (!empty($result_count)) : ?>
<div class="materiobase-results <?php print ' view-mode-' . $variables['view_mode'];?>">
<?php if ($result_count) : ?>
<?php //print render($search_performance); ?>
<p class="search-performance"><?php print render($search_performance); ?></p>
<?php //print render($spellcheck); ?>
<div class="search-results">
<?php $eview = entity_view($index->item_type, $items, $variables['view_mode']); ?>
<?php //dsm($eview, 'eview'); ?>
<?php print render($eview); ?>
<?php
// foreach ($eview[$index->item_type] as $entity){
// $renders[] = render($entity);
// }
// dsm($renders, 'renders');
// print implode('<!-- whitespace -->', $renders);
?>
<?php print render(entity_view($index->item_type, $items, $variables['view_mode'])); ?>
</div>
<?php print $pager; ?>
<?php else : ?>