|
@@ 600-603 (lines=4) @@
|
| 597 |
|
$and_condition['Datetime.DTT_EVT_end****'] = $where_params['Datetime.DTT_EVT_end']; |
| 598 |
|
unset($where_params['Datetime.DTT_EVT_end']); |
| 599 |
|
} |
| 600 |
|
if (isset($where_params['Datetime.DTT_EVT_start'])) { |
| 601 |
|
$and_condition['Datetime.DTT_EVT_start'] = $where_params['Datetime.DTT_EVT_start']; |
| 602 |
|
unset($where_params['Datetime.DTT_EVT_start']); |
| 603 |
|
} |
| 604 |
|
// merge remaining $where params with the and conditions. |
| 605 |
|
$where_params['AND'] = array_merge($and_condition, $where_params); |
| 606 |
|
$query_params[0] = $where_params; |
|
@@ 646-649 (lines=4) @@
|
| 643 |
|
$where_params['AND']['Datetime.DTT_EVT_end****'] = $where_params['Datetime.DTT_EVT_end']; |
| 644 |
|
unset($where_params['Datetime.DTT_EVT_end']); |
| 645 |
|
} |
| 646 |
|
if (isset($where_params['Datetime.DTT_EVT_start'])) { |
| 647 |
|
$where_params['AND']['Datetime.DTT_EVT_start'] = $where_params['Datetime.DTT_EVT_start']; |
| 648 |
|
unset($where_params['Datetime.DTT_EVT_start']); |
| 649 |
|
} |
| 650 |
|
$query_params[0] = $where_params; |
| 651 |
|
// don't use $query_params with count() |
| 652 |
|
// because we don't want to include additional query clauses like "GROUP BY" |