|
@@ 290-296 (lines=7) @@
|
| 287 |
|
$start = null; |
| 288 |
|
$sort = ''; |
| 289 |
|
$order = ''; |
| 290 |
|
if (isset($criteria) && is_subclass_of($criteria, 'CriteriaElement')) { |
| 291 |
|
$sql .= ' ' . $criteria->renderWhere(); |
| 292 |
|
$sort = $criteria->getSort(); |
| 293 |
|
$order = $criteria->getOrder(); |
| 294 |
|
$limit = $criteria->getLimit(); |
| 295 |
|
$start = $criteria->getStart(); |
| 296 |
|
} |
| 297 |
|
$sql .= " GROUP BY o.{$this->keyName}"; |
| 298 |
|
|
| 299 |
|
$order = mb_strtoupper($order); |
|
@@ 394-400 (lines=7) @@
|
| 391 |
|
$start = null; |
| 392 |
|
$sort = ''; |
| 393 |
|
$order = ''; |
| 394 |
|
if (isset($criteria) && is_subclass_of($criteria, 'CriteriaElement')) { |
| 395 |
|
$sql .= ' ' . $criteria->renderWhere(); |
| 396 |
|
$sort = $criteria->getSort(); |
| 397 |
|
$order = $criteria->getOrder(); |
| 398 |
|
$limit = $criteria->getLimit(); |
| 399 |
|
$start = $criteria->getStart(); |
| 400 |
|
} |
| 401 |
|
|
| 402 |
|
$order = mb_strtoupper($order); |
| 403 |
|
$sort = mb_strtolower($sort); |