From d747780a6d8a79b6919defe26292fc1142f74068 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 9 Apr 2024 11:10:35 +0200 Subject: [PATCH 1/2] Hostgroupsummary: Add `name_ci` as search column --- library/Icingadb/Model/Hostgroupsummary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icingadb/Model/Hostgroupsummary.php b/library/Icingadb/Model/Hostgroupsummary.php index 938f44741..172413e7c 100644 --- a/library/Icingadb/Model/Hostgroupsummary.php +++ b/library/Icingadb/Model/Hostgroupsummary.php @@ -135,7 +135,7 @@ public function getColumns() public function getSearchColumns() { - return ['display_name']; + return ['name_ci', 'display_name']; } public function getDefaultSort() From d4fcb48f0ca5fa7c4acc64a28452677ccce65dcb Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 9 Apr 2024 11:10:53 +0200 Subject: [PATCH 2/2] Servicegroupsummary: Add `name_ci` as search column --- library/Icingadb/Model/ServicegroupSummary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icingadb/Model/ServicegroupSummary.php b/library/Icingadb/Model/ServicegroupSummary.php index 2c032ad2b..c15ef079e 100644 --- a/library/Icingadb/Model/ServicegroupSummary.php +++ b/library/Icingadb/Model/ServicegroupSummary.php @@ -113,7 +113,7 @@ public function getColumns() public function getSearchColumns() { - return ['display_name']; + return ['name_ci', 'display_name']; } public function getDefaultSort()