mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix eventlog filtering (#14136)
Was sending device_id = 0 for all devices when it should have been device_id = null
This commit is contained in:
@@ -35,7 +35,7 @@ var eventlog_grid = $("#eventlog").bootgrid({
|
||||
post: function ()
|
||||
{
|
||||
return {
|
||||
device: "' . (int) ($vars['device']) . '",
|
||||
device: ' . (empty($vars['device']) ? 'null' : (int) $vars['device']) . ',
|
||||
eventtype: "' . addcslashes($vars['eventtype'], '"') . '",
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user