From c2b861ed8e5d7a44d7874107da3452aa56f0ed03 Mon Sep 17 00:00:00 2001 From: Petra Maier Date: Mon, 30 Oct 2023 15:56:34 +0100 Subject: [PATCH] Adjust fix for f1nn without sw-id (RPB-102) Need test case --- conf/rppd-to-lobid.fix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/rppd-to-lobid.fix b/conf/rppd-to-lobid.fix index fc793b6d..1a286f10 100644 --- a/conf/rppd-to-lobid.fix +++ b/conf/rppd-to-lobid.fix @@ -67,6 +67,9 @@ do list(path:"professionOrOccupation[]", "var": "$i") lookup("$i.label", "SW_map", delete: "true") if exists("$i.label") prepend("$i.id", "https://rpb.lobid.org/sw/") + # TODO kein Beispiel in Testdaten + else + move_field("$i.id", "$i.label") end end