Skip to content

Commit

Permalink
Fixed display for annotations (fix #5).
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Feb 17, 2023
1 parent b9fa07c commit e6f17d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/Annotations.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __invoke(AbstractResourceEntityRepresentation $resource): string
$response = $view->api()->search('annotations', $query);
$annotations = $response->getContent();
$totalAnnotations = $response->getTotalResults();
echo $view->partial(
return $view->partial(
'common/site/annotation-resource',
[
'resource' => $resource,
Expand Down

0 comments on commit e6f17d6

Please sign in to comment.