From 8ca2f72d09e99c372ea21a4fe4112da6c4a1312c Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Mar 2011 00:14:52 +0000 Subject: Refs #2413 registered the subtype for discussion topics so search works git-svn-id: http://code.elgg.org/elgg/trunk@8609 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/start.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/groups/start.php b/mod/groups/start.php index 1012b5bbc..d83ff467e 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -540,6 +540,9 @@ function discussion_init() { // add link to owner block elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'discussion_owner_block_menu'); + // Register for search. + elgg_register_entity_type('object', 'groupforumtopic'); + // add the forum tool option add_group_tool_option('forum', elgg_echo('groups:enableforum'), true); elgg_extend_view('groups/tool_latest', 'discussion/group_module'); -- cgit v1.2.3