main/inc/lib/usermanager.lib.php 1 location
|
@@ 4418-4422 (lines=5) @@
|
4415 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
4416 |
|
} |
4417 |
|
|
4418 |
|
if (!empty($column) && !empty($direction)) { |
4419 |
|
// Fixing order due the UNIONs |
4420 |
|
$column = str_replace('u.', '', $column); |
4421 |
|
$orderBy = " ORDER BY $column $direction "; |
4422 |
|
} |
4423 |
|
} |
4424 |
|
|
4425 |
|
$sql .= $orderBy; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5412-5415 (lines=4) @@
|
5409 |
|
return $count; |
5410 |
|
} |
5411 |
|
|
5412 |
|
if (!empty($column) && !empty($direction)) { |
5413 |
|
$column = str_replace('u.', '', $column); |
5414 |
|
$sql .= " ORDER BY $column $direction "; |
5415 |
|
} |
5416 |
|
|
5417 |
|
$sql .= $limitCondition; |
5418 |
|
$result = Database::query($sql); |