main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5093-5096 (lines=4) @@
|
5090 |
|
return $count; |
5091 |
|
} |
5092 |
|
|
5093 |
|
if (!empty($column) && !empty($direction)) { |
5094 |
|
$column = str_replace('u.', '', $column); |
5095 |
|
$sql .= " ORDER BY $column $direction "; |
5096 |
|
} |
5097 |
|
|
5098 |
|
$sql .= $limitCondition; |
5099 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4094-4098 (lines=5) @@
|
4091 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
4092 |
|
} |
4093 |
|
|
4094 |
|
if (!empty($column) && !empty($direction)) { |
4095 |
|
// Fixing order due the UNIONs |
4096 |
|
$column = str_replace('u.', '', $column); |
4097 |
|
$orderBy = " ORDER BY $column $direction "; |
4098 |
|
} |
4099 |
|
|
4100 |
|
$sql .= $orderBy; |
4101 |
|
$sql .= $limitCondition; |