|
@@ 253-255 (lines=3) @@
|
| 250 |
|
|
| 251 |
|
$cond = array(); |
| 252 |
|
foreach ($fieldNames as $fieldName) { |
| 253 |
|
if (strpos($fieldName, '.') === false) { |
| 254 |
|
$fieldName = $Model->alias . '.' . $fieldName; |
| 255 |
|
} |
| 256 |
|
|
| 257 |
|
if ($field['before'] === true) { |
| 258 |
|
$field['before'] = '%'; |
|
@@ 348-350 (lines=3) @@
|
| 345 |
|
|
| 346 |
|
$cond = array(); |
| 347 |
|
foreach ($fieldNames as $fieldName) { |
| 348 |
|
if (strpos($fieldName, '.') === false) { |
| 349 |
|
$fieldName = $Model->alias . '.' . $fieldName; |
| 350 |
|
} |
| 351 |
|
if (is_array($fieldValue) && empty($fieldValue)) { |
| 352 |
|
continue; |
| 353 |
|
} |