display search performances
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
65ea77dea2
commit
2248bfd12e
@ -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 : ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user