Skip to content

Commit

Permalink
Add preserveTags to nsi-id-presets.json (fixes #10083) (#10328)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost authored Jan 13, 2025
1 parent 9d9412a commit f6d0902
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dist_files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f6d0902

Please sign in to comment.