Skip to content

Commit

Permalink
Fix search link for missing communities not working (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
BentiGorlich authored Jan 29, 2025
1 parent 9e86ad0 commit 675c151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Markdown/CommonMark/CommunityLinkParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function parse(InlineParserContext $ctx): bool
if ($isRemote) {
$ctx->getContainer()->appendChild(
new ActorSearchLink(
$this->urlGenerator->generate('search', ['q' => $fullHandle], UrlGeneratorInterface::ABSOLUTE_URL),
$this->urlGenerator->generate('search', ['search[q]' => $fullHandle], UrlGeneratorInterface::ABSOLUTE_URL),
'!'.$handle,
'!'.$fullHandle,
)
Expand Down

0 comments on commit 675c151

Please sign in to comment.