main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5329-5332 (lines=4) @@
|
| 5326 |
|
return $count; |
| 5327 |
|
} |
| 5328 |
|
|
| 5329 |
|
if (!empty($column) && !empty($direction)) { |
| 5330 |
|
$column = str_replace('u.', '', $column); |
| 5331 |
|
$sql .= " ORDER BY $column $direction "; |
| 5332 |
|
} |
| 5333 |
|
|
| 5334 |
|
$sql .= $limitCondition; |
| 5335 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4416-4420 (lines=5) @@
|
| 4413 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4414 |
|
} |
| 4415 |
|
|
| 4416 |
|
if (!empty($column) && !empty($direction)) { |
| 4417 |
|
// Fixing order due the UNIONs |
| 4418 |
|
$column = str_replace('u.', '', $column); |
| 4419 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4420 |
|
} |
| 4421 |
|
} |
| 4422 |
|
|
| 4423 |
|
$sql .= $orderBy; |