main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5274-5277 (lines=4) @@
|
5271 |
|
return $count; |
5272 |
|
} |
5273 |
|
|
5274 |
|
if (!empty($column) && !empty($direction)) { |
5275 |
|
$column = str_replace('u.', '', $column); |
5276 |
|
$sql .= " ORDER BY $column $direction "; |
5277 |
|
} |
5278 |
|
|
5279 |
|
$sql .= $limitCondition; |
5280 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4367-4371 (lines=5) @@
|
4364 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
4365 |
|
} |
4366 |
|
|
4367 |
|
if (!empty($column) && !empty($direction)) { |
4368 |
|
// Fixing order due the UNIONs |
4369 |
|
$column = str_replace('u.', '', $column); |
4370 |
|
$orderBy = " ORDER BY $column $direction "; |
4371 |
|
} |
4372 |
|
} |
4373 |
|
|
4374 |
|
$sql .= $orderBy; |