main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5078-5081 (lines=4) @@
|
| 5075 |
|
return $count; |
| 5076 |
|
} |
| 5077 |
|
|
| 5078 |
|
if (!empty($column) && !empty($direction)) { |
| 5079 |
|
$column = str_replace('u.', '', $column); |
| 5080 |
|
$sql .= " ORDER BY $column $direction "; |
| 5081 |
|
} |
| 5082 |
|
|
| 5083 |
|
$sql .= $limitCondition; |
| 5084 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4069-4073 (lines=5) @@
|
| 4066 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4067 |
|
} |
| 4068 |
|
|
| 4069 |
|
if (!empty($column) && !empty($direction)) { |
| 4070 |
|
// Fixing order due the UNIONs |
| 4071 |
|
$column = str_replace('u.', '', $column); |
| 4072 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4073 |
|
} |
| 4074 |
|
|
| 4075 |
|
$sql .= $orderBy; |
| 4076 |
|
$sql .= $limitCondition; |