Skip to content

Commit

Permalink
[BUGFIX] Fix passing page id in ToolboxController - but keep viewArra…
Browse files Browse the repository at this point in the history
…y Key (#1438)

Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
fschoelzel and sebastian-meyer committed Feb 1, 2025
1 parent 160130f commit 0f72b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/ToolboxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ private function renderSearchInDocumentTool(): void
'labelHighlightWord' => $this->settings['highlightWordInputName'],
'labelEncrypted' => $this->settings['encryptedInputName'],
'documentId' => $this->getCurrentDocumentId(),
'documentPageId' => $this->document->getPid(),
'documentPageId' => $this->request->getAttribute('routing')->getPageId(),
'solrEncrypted' => $this->getEncryptedCoreName() ? : ''
];

Expand Down

0 comments on commit 0f72b77

Please sign in to comment.