Fix generated fronted urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -253,7 +253,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