diff --git a/extensions/tags/src/Api/Controller/ListTagsController.php b/extensions/tags/src/Api/Controller/ListTagsController.php index 0d2038805..786d2ed7c 100644 --- a/extensions/tags/src/Api/Controller/ListTagsController.php +++ b/extensions/tags/src/Api/Controller/ListTagsController.php @@ -57,7 +57,10 @@ class ListTagsController extends AbstractCollectionController protected function data(ServerRequestInterface $request, Document $document) { $actor = $request->getAttribute('actor'); + $include = $this->extractInclude($request); - return $this->tags->whereVisibleTo($actor)->withStateFor($actor)->get(); + $tags = $this->tags->whereVisibleTo($actor)->withStateFor($actor)->get(); + + return $tags->load($include); } }