mirror of
https://github.com/flarum/framework.git
synced 2025-03-03 20:33:27 +08:00
fixes flarum/core#2907 discussion shows parent after child due to missing parent include
This commit is contained in:
parent
a72f0a8851
commit
222a0de3ef
@ -74,10 +74,10 @@ return [
|
||||
->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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user