mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Increased speed of loading syslog pages. (#6433)
* Increased speed of loading syslog pages. I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. * moved schema 186->189
This commit is contained in:
committed by
Neil Lathwood
parent
6c555c6fb5
commit
6b2ae00e27
@@ -42,7 +42,7 @@ if ($_SESSION['userlevel'] >= '5') {
|
||||
$param = array_merge(array($_SESSION['user_id']), $param);
|
||||
}
|
||||
|
||||
$count_sql = "SELECT COUNT(timestamp) $sql";
|
||||
$count_sql = "SELECT COUNT(*) $sql";
|
||||
$total = dbFetchCell($count_sql, $param);
|
||||
if (empty($total)) {
|
||||
$total = 0;
|
||||
|
Reference in New Issue
Block a user