From d7e8fcebe7095c849ca72c9d6fe7ae8e554b096f Mon Sep 17 00:00:00 2001 From: Dimitris1990 Date: Thu, 2 Jul 2026 18:11:52 +0300 Subject: [PATCH] Append the preparationCode as 'code' if it is present #296665 --- .../org/eea/dataset/controller/DatasetControllerImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dataset-service/src/main/java/org/eea/dataset/controller/DatasetControllerImpl.java b/dataset-service/src/main/java/org/eea/dataset/controller/DatasetControllerImpl.java index b2584e7736..788fa5f431 100644 --- a/dataset-service/src/main/java/org/eea/dataset/controller/DatasetControllerImpl.java +++ b/dataset-service/src/main/java/org/eea/dataset/controller/DatasetControllerImpl.java @@ -611,6 +611,12 @@ public Map importBigFileData( if (providerId != null) { pollingUrl += "&providerId=" + providerId; } + + // Append the preparationCode as 'code' if it is present + if (preparationCode != null && !preparationCode.isEmpty()) { + pollingUrl += "&code=" + preparationCode; + } + result.put("jobId", jobId); result.put("pollingUrl", pollingUrl); }