From 5b8d839aaf123188633f8f4a89a0ae54c951e7a2 Mon Sep 17 00:00:00 2001
From: Vivien Nicolas <vnicolas@apple.com>
Date: Thu, 15 Sep 2022 19:33:30 +0200
Subject: [PATCH] Add cluster description field to
 selectAllClustersDetailsFromEndpointTypes (#727)

---
 src-electron/db/query-endpoint-type.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src-electron/db/query-endpoint-type.js b/src-electron/db/query-endpoint-type.js
index c12cdc51..91943841 100644
--- a/src-electron/db/query-endpoint-type.js
+++ b/src-electron/db/query-endpoint-type.js
@@ -169,6 +169,7 @@ async function selectAllClustersDetailsFromEndpointTypes(db, endpointTypes) {
       id: x.CLUSTER_ID,
       name: x.NAME,
       code: x.CODE,
+      description: x.DESCRIPTION,
       define: x.DEFINE,
       mfgCode: x.MANUFACTURER_CODE,
       side: x.SIDE,
@@ -186,6 +187,7 @@ async function selectAllClustersDetailsFromEndpointTypes(db, endpointTypes) {
 SELECT
   CLUSTER.CLUSTER_ID,
   CLUSTER.CODE,
+  CLUSTER.DESCRIPTION,
   CLUSTER.MANUFACTURER_CODE,
   CLUSTER.NAME,
   CLUSTER.DEFINE,
-- 
GitLab