From fb365c98e57616dbc7ff6ed716a88ec50b8a2f97 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Thu, 15 Jul 2021 13:18:17 +0100 Subject: [PATCH] Load parent relation for proper tag listing (#137) --- extensions/tags/src/Content/Tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tags/src/Content/Tags.php b/extensions/tags/src/Content/Tags.php index c42759768..a6c652324 100644 --- a/extensions/tags/src/Content/Tags.php +++ b/extensions/tags/src/Content/Tags.php @@ -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); } }