mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
No specific SAT or Orbit at IOTA!
This commit is contained in:
@@ -71,6 +71,11 @@ class IOTA extends CI_Model {
|
||||
$binding[] = $postdata['mode'];
|
||||
$binding[] = $postdata['mode'];
|
||||
}
|
||||
if ($band == 'SAT') {
|
||||
$sql .= " and col_prop_mode='SAT'";
|
||||
} else {
|
||||
$sql.=" and (col_prop_mode!='SAT' or col_prop_mode is null)";
|
||||
}
|
||||
|
||||
$sql .= $this->genfunctions->addBandToQuery($band,$binding);
|
||||
|
||||
@@ -99,6 +104,11 @@ class IOTA extends CI_Model {
|
||||
$binding[] = $postdata['mode'];
|
||||
$binding[] = $postdata['mode'];
|
||||
}
|
||||
if ($band == 'SAT') {
|
||||
$sql .= " and col_prop_mode='SAT'";
|
||||
} else {
|
||||
$sql.=" and (col_prop_mode!='SAT' or col_prop_mode is null)";
|
||||
}
|
||||
|
||||
$sql .= $this->genfunctions->addBandToQuery($band,$binding);
|
||||
|
||||
@@ -142,6 +152,8 @@ class IOTA extends CI_Model {
|
||||
$sql .= " and col_band = ?";
|
||||
$binding[] = $postdata['band'];
|
||||
}
|
||||
} else {
|
||||
$sql.=" and (col_prop_mode != 'SAT' or col_prop_mode is null)";
|
||||
}
|
||||
$sql .= ")";
|
||||
}
|
||||
@@ -165,6 +177,11 @@ class IOTA extends CI_Model {
|
||||
$binding[] = $postdata['mode'];
|
||||
$binding[] = $postdata['mode'];
|
||||
}
|
||||
if ($postdata['band'] == 'SAT') {
|
||||
$sql .= " and col_prop_mode='SAT'";
|
||||
} else {
|
||||
$sql.=" and (col_prop_mode!='SAT' or col_prop_mode is null)";
|
||||
}
|
||||
|
||||
$sql .= $this->genfunctions->addBandToQuery($postdata['band'],$binding);
|
||||
|
||||
@@ -198,6 +215,11 @@ class IOTA extends CI_Model {
|
||||
$binding[] = $postdata['mode'];
|
||||
$binding[] = $postdata['mode'];
|
||||
}
|
||||
if ($postdata['band'] == 'SAT') {
|
||||
$sql .= " and col_prop_mode='SAT'";
|
||||
} else {
|
||||
$sql.=" and (col_prop_mode!='SAT' or col_prop_mode is null)";
|
||||
}
|
||||
|
||||
if ($postdata['includedeleted'] == NULL) {
|
||||
$sql .= " and coalesce(iota.status, '') <> 'D'";
|
||||
|
||||
Reference in New Issue
Block a user