aboutsummaryrefslogtreecommitdiff
path: root/mod/search/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search/index.php')
-rw-r--r--mod/search/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/search/index.php b/mod/search/index.php
index db2aa5cc2..c51b0fe0d 100644
--- a/mod/search/index.php
+++ b/mod/search/index.php
@@ -187,7 +187,7 @@ if ($search_type == 'all' || $search_type == 'entities') {
}
if (is_array($results['entities']) && $results['count']) {
- if ($view = search_get_search_view($current_params, 'listing')) {
+ if ($view = search_get_search_view($current_params, 'list')) {
$results_html .= elgg_view($view, array(
'results' => $results,
'params' => $current_params,
@@ -208,7 +208,7 @@ if ($search_type == 'all' || $search_type == 'entities') {
}
if (is_array($results['entities']) && $results['count']) {
- if ($view = search_get_search_view($current_params, 'listing')) {
+ if ($view = search_get_search_view($current_params, 'list')) {
$results_html .= elgg_view($view, array(
'results' => $results,
'params' => $current_params,
@@ -239,7 +239,7 @@ if ($search_type != 'entities' || $search_type == 'all') {
}
if (is_array($results['entities']) && $results['count']) {
- if ($view = search_get_search_view($current_params, 'listing')) {
+ if ($view = search_get_search_view($current_params, 'list')) {
$results_html .= elgg_view($view, array(
'results' => $results,
'params' => $current_params,