Skip to content

Commit

Permalink
ObjectsRenderer: Add missing id column
Browse files Browse the repository at this point in the history
This column is required to fetch further relations
  • Loading branch information
sukhwinder33445 committed Jul 4, 2024
1 parent ff8e061 commit 9b409b4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,12 @@ private function buildQueries(array $objectIdTags): array
$servicesQuery = Service::on($this->getDb())
->with('host')
->columns([
'service.id',
'service.name',
'service.display_name',
'host.name',
'host.display_name',
'service.host.id',
'service.host.name',
'service.host.display_name',
])
->filter($filterServices);
}
Expand Down

0 comments on commit 9b409b4

Please sign in to comment.