Added new Filter
这个提交包含在:
父节点
0c36b1fb81
当前提交
39f90570af
共有 2 个文件被更改,包括 10 次插入 和 1 次删除
|
|
@ -105,6 +105,7 @@ class Logbookadvanced extends CI_Controller {
|
|||
'band' => xss_clean($this->input->post('band')),
|
||||
'qslSent' => xss_clean($this->input->post('qslSent')),
|
||||
'qslReceived' => xss_clean($this->input->post('qslReceived')),
|
||||
'qslMethod' => xss_clean($this->input->post('qslMethod')),
|
||||
'iota' => xss_clean($this->input->post('iota')),
|
||||
'dxcc' => xss_clean($this->input->post('dxcc')),
|
||||
'propmode' => xss_clean($this->input->post('propmode')),
|
||||
|
|
|
|||
|
|
@ -62,7 +62,15 @@ class Logbookadvanced_model extends CI_Model {
|
|||
$conditions[] = $condition;
|
||||
$binding[] = $searchCriteria['qslReceived'];
|
||||
}
|
||||
|
||||
if ($searchCriteria['qslMethod'] !== '') {
|
||||
$condition = "COL_QSL_RCVD = ?";
|
||||
if ($searchCriteria['qslMethod'] == 'N') {
|
||||
$condition = '('.$condition;
|
||||
$condition .= " OR COL_QSL_RCVD IS NULL OR COL_QSL_RCVD = '')";
|
||||
}
|
||||
$conditions[] = $condition;
|
||||
$binding[] = $searchCriteria['qslReceived'];
|
||||
}
|
||||
if ($searchCriteria['lotwSent'] !== '') {
|
||||
$condition = "COL_LOTW_QSL_SENT = ?";
|
||||
if ($searchCriteria['lotwSent'] == 'N') {
|
||||
|
|
|
|||
正在加载…
在新工单中引用