Added new Filter

这个提交包含在:
HB9HIL 2023-10-04 01:28:11 +02:00 提交者 GitHub
父节点 0c36b1fb81
当前提交 39f90570af
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 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') {