Skip to content

Commit

Permalink
fixes flarum/framework#2907 discussion shows parent after child due t…
Browse files Browse the repository at this point in the history
…o missing parent include
  • Loading branch information
luceos committed Jun 10, 2021
1 parent 664e81b commit d5882c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
->load('tags'),

(new Extend\ApiController(FlarumController\ShowDiscussionController::class))
->addInclude(['tags', 'tags.state']),
->addInclude(['tags', 'tags.state', 'tags.parent']),

(new Extend\ApiController(FlarumController\CreateDiscussionController::class))
->addInclude(['tags', 'tags.state']),
->addInclude(['tags', 'tags.state', 'tags.parent']),

(new Extend\ApiController(FlarumController\ShowForumController::class))
->addInclude(['tags', 'tags.parent'])
Expand Down

0 comments on commit d5882c2

Please sign in to comment.