mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:25:54 +08:00
Load parent relation for proper tag listing (#137)
This commit is contained in:
parent
222a0de3ef
commit
fb365c98e5
@ -103,7 +103,7 @@ class Tags
|
||||
private function getTagsDocument(Request $request)
|
||||
{
|
||||
return json_decode($this->api->withParentRequest($request)->withQueryParams([
|
||||
'include' => 'children,lastPostedDiscussion'
|
||||
'include' => 'children,lastPostedDiscussion,parent'
|
||||
])->get('/tags')->getBody(), true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user