- Patch #105540 by souvent22: small SQL optimization.
parent
dc0ffc1bc5
commit
71e7e78bf8
|
@ -120,7 +120,7 @@ function watchdog_overview() {
|
|||
array('data' => t('Operations'))
|
||||
);
|
||||
|
||||
$sql = "SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid";
|
||||
$sql = "SELECT w.wid, w.uid, w.severity, w.type, w.timestamp, w.message, w.link, u.name FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid";
|
||||
$tablesort = tablesort_sql($header);
|
||||
$type = $_SESSION['watchdog_overview_filter'];
|
||||
if ($type != 'all') {
|
||||
|
|
Loading…
Reference in New Issue