From 7d6a533e597d1f38f21704f66e767b01a6921a86 Mon Sep 17 00:00:00 2001 From: "Cleopatra Enjeck M." Date: Tue, 10 Dec 2024 05:25:57 +0100 Subject: [PATCH] fix: use actual providerId in link rows Signed-off-by: Cleopatra Enjeck M. --- lib/Service/ColumnTypes/TextLinkBusiness.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/ColumnTypes/TextLinkBusiness.php b/lib/Service/ColumnTypes/TextLinkBusiness.php index 52560eec5..b3e9c3805 100644 --- a/lib/Service/ColumnTypes/TextLinkBusiness.php +++ b/lib/Service/ColumnTypes/TextLinkBusiness.php @@ -38,7 +38,7 @@ public function parseValue($value, ?Column $column = null): string { return json_encode(json_encode([ 'title' => $data['title'] ?? $data['resourceUrl'], 'value' => $data['resourceUrl'], - 'providerId' => 'url', + 'providerId' => $data['providerId'] ?? 'url', ])); } // at least title and resUrl have to be set