main/inc/lib/usermanager.lib.php 1 location
|
@@ 4400-4404 (lines=5) @@
|
| 4397 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4398 |
|
} |
| 4399 |
|
|
| 4400 |
|
if (!empty($column) && !empty($direction)) { |
| 4401 |
|
// Fixing order due the UNIONs |
| 4402 |
|
$column = str_replace('u.', '', $column); |
| 4403 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4404 |
|
} |
| 4405 |
|
} |
| 4406 |
|
|
| 4407 |
|
$sql .= $orderBy; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5393-5396 (lines=4) @@
|
| 5390 |
|
return $count; |
| 5391 |
|
} |
| 5392 |
|
|
| 5393 |
|
if (!empty($column) && !empty($direction)) { |
| 5394 |
|
$column = str_replace('u.', '', $column); |
| 5395 |
|
$sql .= " ORDER BY $column $direction "; |
| 5396 |
|
} |
| 5397 |
|
|
| 5398 |
|
$sql .= $limitCondition; |
| 5399 |
|
$result = Database::query($sql); |