This commit is contained in:
2026-03-20 21:17:26 +01:00
parent 1a62fcb81d
commit 29c3ff8572
229 changed files with 13147 additions and 2577 deletions

View File

@@ -18,7 +18,7 @@ class ReceivedCommentsController extends Controller
}
$hits = 33;
$page = max(1, (int) $request->query('page', 1));
$currentPage = max(1, (int) $request->query('page', 1));
$base = ArtworkComment::with(['user', 'artwork'])
->whereHas('artwork', function ($q) use ($user) {
@@ -30,7 +30,7 @@ class ReceivedCommentsController extends Controller
return view('legacy::received-comments', [
'comments' => $comments,
'page' => $page,
'currentPage' => $currentPage,
'hits' => $hits,
'total' => $comments->total(),
]);