- Patch #105540 by souvent22: small SQL optimization.

5.x
Dries Buytaert 2006-12-29 17:22:20 +00:00
parent dc0ffc1bc5
commit 71e7e78bf8
1 changed files with 1 additions and 1 deletions

View File

@ -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') {