diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-22 14:07:05 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-22 14:07:05 +0000 |
commit | 6615b6f4d827811046564cd004bd167b4c3c38bf (patch) | |
tree | a8b13babab0bb2741e9612f46d0e6a113bd29026 /engine/lib/users.php | |
parent | 18dd81e15a1159e73f0371e91b62640db3f5e9bf (diff) | |
download | elgg-6615b6f4d827811046564cd004bd167b4c3c38bf.tar.gz elgg-6615b6f4d827811046564cd004bd167b4c3c38bf.tar.bz2 |
Closes #1030: Group title and description search added, refs #965
git-svn-id: https://code.elgg.org/elgg/trunk@3300 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 17ef2cd40..6b16e5e69 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -826,11 +826,7 @@ }
/**
- * Searches for a user based on a complete or partial name or username using full text searching.
- *
- * IMPORTANT NOTE: With MySQL's default setup:
- * 1) $criteria must be 4 or more characters long
- * 2) If $criteria matches greater than 50% of results NO RESULTS ARE RETURNED!
+ * Searches for a user based on a complete or partial name or username.
*
* @param string $criteria The partial or full name or username.
* @param int $limit Limit of the search.
@@ -877,10 +873,8 @@ *
* @see elgg_view_entity_list
*
- * @param int $user_guid The GUID of the user
- * @param string $subtype The object subtype
- * @param int $limit The number of entities to display on a page
- * @param true|false $fullview Whether or not to display the full view (default: true)
+ * @param string $tag Search criteria + * @param int $limit The number of entities to display on a page * @return string The list in a form suitable to display
*/
function list_user_search($tag, $limit = 10) {
|