main/inc/lib/usermanager.lib.php 1 location
|
@@ 4387-4391 (lines=5) @@
|
| 4384 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4385 |
|
} |
| 4386 |
|
|
| 4387 |
|
if (!empty($column) && !empty($direction)) { |
| 4388 |
|
// Fixing order due the UNIONs |
| 4389 |
|
$column = str_replace('u.', '', $column); |
| 4390 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4391 |
|
} |
| 4392 |
|
} |
| 4393 |
|
|
| 4394 |
|
$sql .= $orderBy; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5329-5332 (lines=4) @@
|
| 5326 |
|
return $count; |
| 5327 |
|
} |
| 5328 |
|
|
| 5329 |
|
if (!empty($column) && !empty($direction)) { |
| 5330 |
|
$column = str_replace('u.', '', $column); |
| 5331 |
|
$sql .= " ORDER BY $column $direction "; |
| 5332 |
|
} |
| 5333 |
|
|
| 5334 |
|
$sql .= $limitCondition; |
| 5335 |
|
$result = Database::query($sql); |