Skip to content

Commit

Permalink
fix(discussions): no more filter menu on discussion detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Aug 20, 2019
1 parent 27c2fac commit e8d60f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mod/discussions/views/default/resources/discussion/view.php
Expand Up @@ -15,10 +15,11 @@

$title = $topic->getDisplayName();

$body = elgg_view_layout('content', [
'content' => $content,
$body = elgg_view_layout('default', [
'title' => $title,
'content' => $content,
'entity' => $topic,
'filter_id' => 'discussion/view',
]);

echo elgg_view_page($title, $body);

0 comments on commit e8d60f6

Please sign in to comment.