Add new Filter
这个提交包含在:
父节点
5aa0b48e68
当前提交
7e3cd2f5ae
共有 2 个文件被更改,包括 1 次插入 和 16 次删除
|
|
@ -72,20 +72,12 @@ class Logbookadvanced_model extends CI_Model {
|
||||||
|
|
||||||
if ($searchCriteria['qslSentMethod'] !== '') {
|
if ($searchCriteria['qslSentMethod'] !== '') {
|
||||||
$condition = "COL_QSL_SENT_VIA like ?";
|
$condition = "COL_QSL_SENT_VIA like ?";
|
||||||
/*if ($searchCriteria['qslSentMethod'] == 'N') {
|
|
||||||
$condition = '('.$condition;
|
|
||||||
$condition .= " OR COL_QSL_SENT_VIA OR COL_QSL_SENT_VIA = '')";
|
|
||||||
}*/
|
|
||||||
$conditions[] = $condition;
|
$conditions[] = $condition;
|
||||||
$binding[] = $searchCriteria['qslSentMethod'].'%';
|
$binding[] = $searchCriteria['qslSentMethod'].'%';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($searchCriteria['qslReceivedMethod'] !== '') {
|
if ($searchCriteria['qslReceivedMethod'] !== '') {
|
||||||
$condition = "COL_QSL_RECV_VIA like ?";
|
$condition = "COL_QSL_RECV_VIA like ?";
|
||||||
/*if ($searchCriteria['qslReceivedMethod'] == 'N') {
|
|
||||||
$condition = '('.$condition;
|
|
||||||
$condition .= " OR COL_QSL_RECV_VIA OR COL_QSL_RECV_VIA = '')";
|
|
||||||
}*/
|
|
||||||
$conditions[] = $condition;
|
$conditions[] = $condition;
|
||||||
$binding[] = $searchCriteria['qslReceivedMethod'].'%';
|
$binding[] = $searchCriteria['qslReceivedMethod'].'%';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -300,13 +300,6 @@ $options = json_decode($options);
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-lg-2 col-md-2 col-sm-3 col-xl">
|
<div class="form-group col-lg-2 col-md-2 col-sm-3 col-xl">
|
||||||
<label for="qslvia"><?php echo lang('filter_qsl_via'); ?></label>
|
<label for="qslvia"><?php echo lang('filter_qsl_via'); ?></label>
|
||||||
<datalist id="qslvia" name="qslvia">
|
|
||||||
<option value=""><?php echo lang('general_word_all'); ?></option>
|
|
||||||
<option value="B"><?php echo lang('general_word_qslcard_bureau'); ?></option>
|
|
||||||
<option value="D"><?php echo lang('general_word_qslcard_direct'); ?></option>
|
|
||||||
<option value="E"><?php echo lang('general_word_qslcard_electronic'); ?></option>
|
|
||||||
<option value="M"><?php echo lang('general_word_qslcard_manager'); ?></option>
|
|
||||||
</datalist>
|
|
||||||
<input type="search" list="qslvia" name="qslviainput" class="custom-select custom-select-sm">
|
<input type="search" list="qslvia" name="qslviainput" class="custom-select custom-select-sm">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-lg-2 col-md-2 col-sm-3 col-xl">
|
<div class="form-group col-lg-2 col-md-2 col-sm-3 col-xl">
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用