main/inc/lib/usermanager.lib.php 1 location
|
@@ 4389-4393 (lines=5) @@
|
4386 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
4387 |
|
} |
4388 |
|
|
4389 |
|
if (!empty($column) && !empty($direction)) { |
4390 |
|
// Fixing order due the UNIONs |
4391 |
|
$column = str_replace('u.', '', $column); |
4392 |
|
$orderBy = " ORDER BY $column $direction "; |
4393 |
|
} |
4394 |
|
} |
4395 |
|
|
4396 |
|
$sql .= $orderBy; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5358-5361 (lines=4) @@
|
5355 |
|
return $count; |
5356 |
|
} |
5357 |
|
|
5358 |
|
if (!empty($column) && !empty($direction)) { |
5359 |
|
$column = str_replace('u.', '', $column); |
5360 |
|
$sql .= " ORDER BY $column $direction "; |
5361 |
|
} |
5362 |
|
|
5363 |
|
$sql .= $limitCondition; |
5364 |
|
$result = Database::query($sql); |