main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5621-5624 (lines=4) @@
|
| 5618 |
|
return $count; |
| 5619 |
|
} |
| 5620 |
|
|
| 5621 |
|
if (!empty($column) && !empty($direction)) { |
| 5622 |
|
$column = str_replace('u.', '', $column); |
| 5623 |
|
$sql .= " ORDER BY $column $direction "; |
| 5624 |
|
} |
| 5625 |
|
|
| 5626 |
|
$sql .= $limitCondition; |
| 5627 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4493-4497 (lines=5) @@
|
| 4490 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4491 |
|
} |
| 4492 |
|
|
| 4493 |
|
if (!empty($column) && !empty($direction)) { |
| 4494 |
|
// Fixing order due the UNIONs |
| 4495 |
|
$column = str_replace('u.', '', $column); |
| 4496 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4497 |
|
} |
| 4498 |
|
} |
| 4499 |
|
|
| 4500 |
|
$sql .= $orderBy; |