diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-15 21:03:28 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-15 21:03:28 +0000 |
commit | 5b4e68bf848d696b0c0bcbe719b3d3a62c8a687f (patch) | |
tree | 4b54c528df0f8aafbcc9acf9c66741d49b4f518b | |
parent | ad0c2a0469ecb2b41c13e439d8478a7642854101 (diff) | |
download | elgg-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.php | 2 |
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; |