Skip to content

Commit

Permalink
ObjectSetTable: fix on pgsql
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Gelf committed Sep 21, 2023
1 parent 4d05083 commit 7c2a3f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/82-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This version hasn't been released yet
* FIX: Template usage table had no header (#2780)
* FIX: Strikethrough for deactivated services in applied Service Set (#2746, #2766)
* FIX: editing multi-selected services with the same name has been fixed (#2798)
* FIX: Service Sets table with PostgreSQL (#2799)

### Icinga Configuration
* FEATURE: render fallback template for IfW 1.11 for Icinga < 2.14 (#2776)
Expand Down
4 changes: 1 addition & 3 deletions library/Director/Web/Table/ObjectSetTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ObjectSetTable extends ZfQueryBasedTable
'os.object_name',
'os.description',
'os.assign_filter',
'service_object_name',
'o.object_name',
];

private $type;
Expand Down Expand Up @@ -98,7 +98,6 @@ protected function prepareQuery()
'object_type' => 'os.object_type',
'assign_filter' => 'os.assign_filter',
'description' => 'os.description',
'service_object_name' => 'o.object_name',
'count_services' => 'COUNT(DISTINCT o.uuid)',
];
if ($this->branchUuid) {
Expand Down Expand Up @@ -185,7 +184,6 @@ protected function prepareQuery()
->group('object_type')
->group('assign_filter')
->group('description')
->group('service_object_name')
->group('count_services');
}
} else {
Expand Down

0 comments on commit 7c2a3f2

Please sign in to comment.