diff --git a/views/pages/globalmanagelogs.pug b/views/pages/globalmanagelogs.pug index 5048d071..363bd8de 100644 --- a/views/pages/globalmanagelogs.pug +++ b/views/pages/globalmanagelogs.pug @@ -60,7 +60,7 @@ block content td if log.showLinks for postLink in log.postLinks - a(href=`/${log.board}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId} + a(href=`/${postLink.board || log.board}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId} | else | #{log.postLinks.map(l => l.postId)} diff --git a/views/pages/managelogs.pug b/views/pages/managelogs.pug index 8d9e0d47..b49380eb 100644 --- a/views/pages/managelogs.pug +++ b/views/pages/managelogs.pug @@ -46,7 +46,7 @@ block content td if log.showLinks for postLink in log.postLinks - a(href=`/${board._id}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId} + a(href=`/${postLink.board || board._id}/manage/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId} | else | #{log.postLinks.map(l => l.postId)} diff --git a/views/pages/modlog.pug b/views/pages/modlog.pug index cd643907..92de1400 100644 --- a/views/pages/modlog.pug +++ b/views/pages/modlog.pug @@ -29,7 +29,7 @@ block content td if log.showLinks for postLink in log.postLinks - a.quote(href=`/${board._id}/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId} + a.quote(href=`/${postLink.board || board._id}/thread/${postLink.thread || postLink.postId}.html#${postLink.postId}`) >>#{postLink.postId} | else | #{log.postLinks.map(l => l.postId)}