mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
fixes flarum/core#2907 discussion shows parent after child due to missing parent include
This commit is contained in:
@@ -74,10 +74,10 @@ return [
|
|||||||
->load('tags'),
|
->load('tags'),
|
||||||
|
|
||||||
(new Extend\ApiController(FlarumController\ShowDiscussionController::class))
|
(new Extend\ApiController(FlarumController\ShowDiscussionController::class))
|
||||||
->addInclude(['tags', 'tags.state']),
|
->addInclude(['tags', 'tags.state', 'tags.parent']),
|
||||||
|
|
||||||
(new Extend\ApiController(FlarumController\CreateDiscussionController::class))
|
(new Extend\ApiController(FlarumController\CreateDiscussionController::class))
|
||||||
->addInclude(['tags', 'tags.state']),
|
->addInclude(['tags', 'tags.state', 'tags.parent']),
|
||||||
|
|
||||||
(new Extend\ApiController(FlarumController\ShowForumController::class))
|
(new Extend\ApiController(FlarumController\ShowForumController::class))
|
||||||
->addInclude(['tags', 'tags.parent'])
|
->addInclude(['tags', 'tags.parent'])
|
||||||
|
Reference in New Issue
Block a user