Skip to content

Commit

Permalink
Add service_set_id is null condition to objects in ServiceTemplateU…
Browse files Browse the repository at this point in the history
…sageTable.php

For number of objects in ServiceTemplateUsageTable and objects in ObjectsTable to be consistent
`service_set_id is null` condition is added to objects in getTypeSummaryDefinitions() in ServiceTemplateUsageTable.php.
  • Loading branch information
raviks789 committed Aug 16, 2021
1 parent 1470a13 commit d4c2985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Director/Web/Table/ServiceTemplateUsageTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function getTypeSummaryDefinitions()
{
return [
'templates' => $this->getSummaryLine('template'),
'objects' => $this->getSummaryLine('object'),
'objects' => $this->getSummaryLine('object', 'o.service_set_id IS NULL'),
'applyrules' => $this->getSummaryLine('apply', 'o.service_set_id IS NULL'),
// TODO: re-enable
// 'setmembers' => $this->getSummaryLine('apply', 'o.service_set_id IS NOT NULL'),
Expand Down

0 comments on commit d4c2985

Please sign in to comment.