服务器端对关系的搜索
QQ 拉拉维尔版本
9.7.0 (简体中文).
QQ PHP 版本
8.1.4 (中文(简体) ).
Voyager 版本
- 5个
QQ 数据库
MySQL 8.0.28 (英语).
说明
查找与服务器侧页的关系
- 复制步骤
模范 Parcours (id, collect id, 日期) (中文(简体) ). 型号 Cadre( 编号, 名称) 在 BREAD 中, Parcours 有属于 Cadre 的关系并显示 Cadre 名称
在 Parcours 列表视图中,列 Cadre 可排序 。 但搜索字段会转到这个错误 :
SQLSTAE [42S22]: 栏未找到 : 1054 字段'parcours.parcour belongsto cadre relationship' in article
将 " parcours " 左边的 " cadres " 作为 " joined " 放在 " parcours " 上。 " cadre id " = " joined " 。 " id " 放在 " parcours " , " parcour belongsto cadre relations " ,如 %NAME%和 " parcours " 。预期行为
SQL 查询必须是
cadre-id' =cadre'. ' . ' . ' . ' . " . " . " . " . " . " . " . " . " . " . " . " . " . " . . " . " . " . " .
QQ 屏幕截图
这些都没有为我工作: https://GitHub.com/the-control-group/voyager/issues/5635 (英语). https://GitHub.com/the-control-group/voyager/issues/5449 (中文(简体) ). https://GitHub.com/the-control-group/voyager/issues/5412 (英语). https://GitHub.com/the-control-group/voyager/pull/5312 (英语). https://GitHub.com/the-control-group/voyager/pull/5245 (中文(简体) ). https://GitHub.com/the-control-group/voyager/pull/5185 (英语). https://GitHub.com/the-control-group/voyager/issues/3595 (英语).
我给干部和干部的关系定了同名的名字 我查了一下干部情况 我查了一下干部浏览器 ![image] (https://user-images.githubusercontent.com/104444110/183095786-4826d2bc-5937-43cc-9fd7-c9b6e35ad8e7.png) (中文(简体) ). 搜索还行。 但它的干部 id被显示。 image. 我要那个干部的名字
接下来我检查一下干部浏览
.
搜索是好的,显示的是干部的名字。
但是,在选取的下调搜索领域, 有两个干部, 一个是干部 id, 另一个是干部关系 ![image] (https://user-images.githubusercontent.com/104444110/18309766-a9010c5a-e1e4-4513-bd66-20d9edbd0e8b.png) (中文(简体) ).
其他背景
无回复( N)
内容来源: thedevdojo/voyager