update
This commit is contained in:
@@ -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(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user