main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5510-5513 (lines=4) @@
|
| 5507 |
|
return $count; |
| 5508 |
|
} |
| 5509 |
|
|
| 5510 |
|
if (!empty($column) && !empty($direction)) { |
| 5511 |
|
$column = str_replace('u.', '', $column); |
| 5512 |
|
$sql .= " ORDER BY $column $direction "; |
| 5513 |
|
} |
| 5514 |
|
|
| 5515 |
|
$sql .= $limitCondition; |
| 5516 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4477-4481 (lines=5) @@
|
| 4474 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4475 |
|
} |
| 4476 |
|
|
| 4477 |
|
if (!empty($column) && !empty($direction)) { |
| 4478 |
|
// Fixing order due the UNIONs |
| 4479 |
|
$column = str_replace('u.', '', $column); |
| 4480 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4481 |
|
} |
| 4482 |
|
} |
| 4483 |
|
|
| 4484 |
|
$sql .= $orderBy; |