Merge remote-tracking branch 'upstream/dev' into map-simplify-centralize-json-call
这个提交包含在:
当前提交
6ef2cf1dc7
共有 1 个文件被更改,包括 7 次插入 和 6 次删除
|
|
@ -209,7 +209,7 @@ class Logbook extends CI_Controller {
|
|||
if(!empty($logbooks_locations_array)) {
|
||||
$extrawhere='';
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'Q') !== false) {
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
}
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'L') !== false) {
|
||||
if ($extrawhere!='') {
|
||||
|
|
@ -336,10 +336,10 @@ class Logbook extends CI_Controller {
|
|||
$return['workedBefore'] = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$extrawhere='';
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'Q') !== false) {
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
}
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'L') !== false) {
|
||||
if ($extrawhere!='') {
|
||||
|
|
@ -427,7 +427,7 @@ class Logbook extends CI_Controller {
|
|||
|
||||
$extrawhere='';
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'Q') !== false) {
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
}
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'L') !== false) {
|
||||
if ($extrawhere!='') {
|
||||
|
|
@ -528,7 +528,7 @@ class Logbook extends CI_Controller {
|
|||
|
||||
$extrawhere='';
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'Q') !== false) {
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
$extrawhere="COL_QSL_RCVD='Y'";
|
||||
}
|
||||
if (isset($user_default_confirmation) && strpos($user_default_confirmation, 'L') !== false) {
|
||||
if ($extrawhere!='') {
|
||||
|
|
@ -634,12 +634,13 @@ class Logbook extends CI_Controller {
|
|||
|
||||
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
||||
$this->db->where_in('station_profile.station_id', $logbooks_locations_array);
|
||||
$this->db->order_by(''.$this->config->item('table_name').'.COL_TIME_ON', "desc");
|
||||
|
||||
$this->db->group_start();
|
||||
$this->db->where($this->config->item('table_name').'.COL_CALL', $id);
|
||||
$this->db->or_like($this->config->item('table_name').'.COL_CALL', '/'.$id,'before');
|
||||
$this->db->or_like($this->config->item('table_name').'.COL_CALL', $id.'/','after');
|
||||
$this->db->or_like($this->config->item('table_name').'.COL_CALL', '/'.$id.'/');
|
||||
$this->db->group_end();
|
||||
|
||||
$this->db->order_by($this->config->item('table_name').".COL_TIME_ON", "desc");
|
||||
$this->db->limit(5);
|
||||
|
|
|
|||
正在加载…
在新工单中引用