aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/search/search_hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search/search_hooks.php b/mod/search/search_hooks.php
index b66a17467..77ab5c6e3 100644
--- a/mod/search/search_hooks.php
+++ b/mod/search/search_hooks.php
@@ -28,7 +28,7 @@ function search_objects_hook($hook, $type, $value, $params) {
$params['wheres'] = array($where);
- $params['order_by'] = search_get_order_by_sql('oe', $params['sort'], $params['order']);
+ //$params['order_by'] = search_get_order_by_sql('oe', $params['sort'], $params['order']);
$entities = elgg_get_entities($params);
$params['count'] = TRUE;