aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-15 21:03:28 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-15 21:03:28 +0000
commit5b4e68bf848d696b0c0bcbe719b3d3a62c8a687f (patch)
tree4b54c528df0f8aafbcc9acf9c66741d49b4f518b
parentad0c2a0469ecb2b41c13e439d8478a7642854101 (diff)
downloadelgg-5b4e68bf848d696b0c0bcbe719b3d3a62c8a687f.tar.gz
elgg-5b4e68bf848d696b0c0bcbe719b3d3a62c8a687f.tar.bz2
Removing order by clause for now in search.
git-svn-id: http://code.elgg.org/elgg/trunk@3813 36083f99-b078-4883-b0ff-0f9b5a30f544
-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;