diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-06-09 23:03:31 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-06-09 23:03:53 +0200 |
commit | 9922252612b81714ef6e01b46f4744352ca94adb (patch) | |
tree | 65cbd7b89c0cd41c2f5fae4c69dd23d8003bbacf /main.js | |
parent | 6ef5462f388ebb5e3263f9c5baac6aecf3c480a5 (diff) |
Feature fetch: Never pass “fid:undefined” when querying the CGI.
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5254,7 +5254,7 @@ const infoMetadataAccordions = []; fetch_body.push({ layer_group: layerGroup, layer: layerName, - fid: feature.getId(), + fid: feature.getId() ?? -1, }); if (fetch_body.length >= 100) { return true; /* enough matches already, stop detection here */ |