mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix device_groups in alert/group builder (#10643)
This commit is contained in:
@@ -430,7 +430,8 @@ class QueryBuilderParser implements \JsonSerializable
|
||||
}
|
||||
|
||||
if (!$this->schema->columnExists($child, $child_key)) {
|
||||
echo"FIXME: Could not make glue from $child to $parent\n";
|
||||
$child_key = $this->schema->getPrimaryKey($child);
|
||||
\Log::warning("QueryBuilderParser: Warning, guessing glue from $child.$child_key to $parent.$parent_key");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user