diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/search/entity_list.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/search/entity_list.php b/views/default/search/entity_list.php index 8ceb0b139..a298983a2 100644 --- a/views/default/search/entity_list.php +++ b/views/default/search/entity_list.php @@ -7,7 +7,8 @@ $count = $vars['count'];
$baseurl = $vars['baseurl'];
$context = $vars['context'];
- $viewtype = $vars['viewtype']; + $viewtype = $vars['viewtype'];
+ $pagination = $vars['pagination']; $html = ""; $nav = "";
@@ -29,7 +30,8 @@ ));
}
- $nav .= elgg_view('navigation/pagination',array(
+ if ($pagination)
+ $nav .= elgg_view('navigation/pagination',array(
'baseurl' => $baseurl,
'offset' => $offset,
|