fix: Adapt URLs generated in the backend to new routes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
committed by
backportbot[bot]
parent
7cc43c706b
commit
81c8aad66f
@@ -219,7 +219,7 @@ class DeckProvider implements IFullTextSearchProvider {
|
||||
try {
|
||||
$board =
|
||||
$this->fullTextSearchService->getBoardFromCardId((int)$document->getId());
|
||||
$path = '#/board/' . $board->getId() . '/card/' . $document->getId();
|
||||
$path = '/board/' . $board->getId() . '/card/' . $document->getId();
|
||||
$document->setLink($this->urlGenerator->linkToRoute('deck.page.index') . $path);
|
||||
} catch (DoesNotExistException $e) {
|
||||
} catch (MultipleObjectsReturnedException $e) {
|
||||
|
||||
Reference in New Issue
Block a user