From a3ad4f88709a9b6bf501dd1765c9fe69a1f24b9d Mon Sep 17 00:00:00 2001 From: yenienserrano Date: Wed, 13 Jul 2022 10:41:40 +0200 Subject: [PATCH 1/3] added sortable option --- .../components/management/groups/utils/columns-main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/controllers/management/components/management/groups/utils/columns-main.js b/public/controllers/management/components/management/groups/utils/columns-main.js index bd30750e5d..a4143218df 100644 --- a/public/controllers/management/components/management/groups/utils/columns-main.js +++ b/public/controllers/management/components/management/groups/utils/columns-main.js @@ -19,7 +19,8 @@ export default class GroupsColums { { field: 'count', name: 'Agents', - align: 'left' + align: 'left', + sortable: true }, { field: 'configSum', From 13b0e1ad8a307f9d169528e4fefc634cafbce791 Mon Sep 17 00:00:00 2001 From: yenienserrano Date: Wed, 13 Jul 2022 10:52:31 +0200 Subject: [PATCH 2/3] add changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab59d2ca9f..9800fba1f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the Wazuh app project will be documented in this file. ## Wazuh v4.4.0 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4400 +### Added + +- Added the option to sort by agents in the group table. [#4323](https://github.com/wazuh/wazuh-kibana-app/pull/4323) + ### Changed - Changed the HTTP verb from `GET` to `POST` in the requests to login to the Wazuh API [#4103](https://github.com/wazuh/wazuh-kibana-app/pull/4103) From d6ff62543f35f5bf29dc716d64d5fd217872ceaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex?= Date: Mon, 18 Jul 2022 12:35:43 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9800fba1f3..810a116b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ All notable changes to the Wazuh app project will be documented in this file. ### Added -- Added the option to sort by agents in the group table. [#4323](https://github.com/wazuh/wazuh-kibana-app/pull/4323) +- Added the option to sort by the agents count in the group table. [#4323](https://github.com/wazuh/wazuh-kibana-app/pull/4323) ### Changed