From f6d090289773942a46cff6b45900ec6c15abf55d Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Mon, 13 Jan 2025 12:44:19 +0100 Subject: [PATCH] Add preserveTags to nsi-id-presets.json (fixes #10083) (#10328) --- scripts/dist_files.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dist_files.js b/scripts/dist_files.js index fe1c26662d8..c30bef097a7 100644 --- a/scripts/dist_files.js +++ b/scripts/dist_files.js @@ -384,6 +384,7 @@ function buildIDPresets() { if (fields) targetPreset.fields = fields; if (preset.reference) targetPreset.reference = preset.reference; if (dissolved[item.id]) targetPreset.searchable = false; // dissolved/closed businesses + if (preserveTags.length) targetPreset.preserveTags = preserveTags; // #10083 targetPreset.tags = sortObject(targetTags); targetPreset.addTags = sortObject(Object.assign({}, item.tags, targetTags));