aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-06 00:14:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-06 00:14:52 +0000
commit8ca2f72d09e99c372ea21a4fe4112da6c4a1312c (patch)
treecf2e550fb556178193195c3c8940fa69ac1777e7
parent8dc1292fcbb737b3986146e1e1cdce8cfafc6be8 (diff)
downloadelgg-8ca2f72d09e99c372ea21a4fe4112da6c4a1312c.tar.gz
elgg-8ca2f72d09e99c372ea21a4fe4112da6c4a1312c.tar.bz2
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
-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 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');