You've already forked lubo_comment_query
Tag顺序问题
This commit is contained in:
@ -10,7 +10,7 @@ class ProgramQueryController extends BaseController
|
||||
{
|
||||
public function index() {
|
||||
$keyword = request()->get("keyword", "");
|
||||
$programs = Programs::query()->with(["appends", "tags", "video_pivots.video"])->limit(15)->orderByDesc("created_at")->get();
|
||||
$programs = Programs::query()->with(["appends", "tag_pivots.tag", "video_pivots.video"])->limit(15)->orderByDesc("created_at")->get();
|
||||
return view("program", [
|
||||
"keyword" => $keyword,
|
||||
"programs"=>$programs,
|
||||
|
Reference in New Issue
Block a user