aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 92416a205..0abd48571 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -16,6 +16,9 @@ function groups_init() {
elgg_register_library('elgg:groups', elgg_get_plugin_path() . 'groups/lib/groups.php');
+ // register group entities for search
+ register_entity_type('group', '');
+
// Set up the menu
$item = new ElggMenuItem('groups', elgg_echo('groups'), 'pg/groups/all');
elgg_register_menu_item('site', $item);