[API] When looking up a grid only do first 4 chars
这个提交包含在:
父节点
ccb9f592b3
当前提交
24f3b3397c
共有 1 个文件被更改,包括 3 次插入 和 0 次删除
|
|
@ -2037,6 +2037,9 @@ class Logbook_model extends CI_Model
|
|||
$logbooks_locations_array = $StationLocationsArray;
|
||||
}
|
||||
|
||||
// Only take the first 4 characters of the grid
|
||||
$grid = substr($grid, 0, 4);
|
||||
|
||||
$this->db->select('COL_GRIDSQUARE');
|
||||
$this->db->where_in('station_id', $logbooks_locations_array);
|
||||
$this->db->group_start();
|
||||
|
|
|
|||
正在加载…
在新工单中引用