From 0ebecf5175bf9669cb45ef38e2e2ef6fb145b0c4 Mon Sep 17 00:00:00 2001
From: Thibault Dockx <thibault.dockx@fusiondirectory.org>
Date: Fri, 4 Apr 2025 17:25:07 +0100
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(extractor):=20enhance=20output?=
 =?UTF-8?q?=20format=20selection=20in=20extractorTask=20with=20display=20v?=
 =?UTF-8?q?alues=20and=20ACL=20support?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 extractor/workflow/class_extractorTask.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/extractor/workflow/class_extractorTask.inc b/extractor/workflow/class_extractorTask.inc
index 66c3dc379a..68a4b11459 100644
--- a/extractor/workflow/class_extractorTask.inc
+++ b/extractor/workflow/class_extractorTask.inc
@@ -60,8 +60,10 @@ class extractorTask extends simplePlugin
           new SelectAttribute(
             _('Format'), _('Output format for extracted data'),
             'fdExtractorTaskFormat', TRUE, 
-            ['CSV' => _('CSV (Comma Separated Values)')], 
-            'CSV'
+            ['CSV'], // Array of choices/keys
+            'CSV',   // Default value
+            [_('CSV (Comma Separated Values)')], // Array of display values corresponding to choices
+            ''      // ACL (empty string means use its own)
           ),
         ]
       ],
-- 
GitLab