Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据表格内关联字段的排序(orderBy) #13

Open
Maleimario opened this issue Jan 26, 2021 · 1 comment
Open

数据表格内关联字段的排序(orderBy) #13

Maleimario opened this issue Jan 26, 2021 · 1 comment

Comments

@Maleimario
Copy link

Grid::make(new UserDevice(['userInfo', 'userDeviceStatusInfo']), function (Grid $grid) {...
grid数据表格声明了关联关系,但是内部使用关联字段的 orderBy 报错
$grid->model()->orderBy('userInfo.id', 'desc');

@jqhph
Copy link
Owner

jqhph commented Mar 4, 2021

Dcat Admin的相关问题请前往 https://github.com/jqhph/dcat-admin/issues 提交,感谢配合

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants