main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5307-5310 (lines=4) @@
|
| 5304 |
|
return $count; |
| 5305 |
|
} |
| 5306 |
|
|
| 5307 |
|
if (!empty($column) && !empty($direction)) { |
| 5308 |
|
$column = str_replace('u.', '', $column); |
| 5309 |
|
$sql .= " ORDER BY $column $direction "; |
| 5310 |
|
} |
| 5311 |
|
|
| 5312 |
|
$sql .= $limitCondition; |
| 5313 |
|
$result = Database::query($sql); |
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4384-4388 (lines=5) @@
|
| 4381 |
|
$orderBy .= " ORDER BY lastname, firstname "; |
| 4382 |
|
} |
| 4383 |
|
|
| 4384 |
|
if (!empty($column) && !empty($direction)) { |
| 4385 |
|
// Fixing order due the UNIONs |
| 4386 |
|
$column = str_replace('u.', '', $column); |
| 4387 |
|
$orderBy = " ORDER BY $column $direction "; |
| 4388 |
|
} |
| 4389 |
|
} |
| 4390 |
|
|
| 4391 |
|
$sql .= $orderBy; |