You've already forked lubo_comment_query
样式,排序,翻页保留查询条件,继续抽象
This commit is contained in:
@ -19,7 +19,7 @@ class CommentQueryController extends BaseController
|
||||
}
|
||||
}
|
||||
}
|
||||
$comments = $query->paginate(10);
|
||||
$comments = $query->paginate(10)->withQueryString();
|
||||
return view("index", [
|
||||
"keyword" => $keyword,
|
||||
"comments" => $comments,
|
||||
|
Reference in New Issue
Block a user