Also allow for SAT name filter with propmode SAT
这个提交包含在:
父节点
98dc24851d
当前提交
f1c6f4e880
共有 1 个文件被更改,包括 6 次插入 和 0 次删除
|
|
@ -80,6 +80,12 @@ class Logbookadvanced_model extends CI_Model {
|
|||
if ($searchCriteria['propmode'] !== '') {
|
||||
$conditions[] = "COL_PROP_MODE = ?";
|
||||
$binding[] = $searchCriteria['propmode'];
|
||||
if($searchCriteria['propmode'] == "SAT") {
|
||||
if ($searchCriteria['sats'] !== 'All') {
|
||||
$conditions[] = "COL_SAT_NAME = ?";
|
||||
$binding[] = trim($searchCriteria['sats']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$where = trim(implode(" AND ", $conditions));
|
||||
|
|
|
|||
正在加载…
在新工单中引用