diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-20 16:02:51 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-20 16:07:40 +0100 |
commit | ac3adb815091e4157bce75542f40e12257add364 (patch) | |
tree | 119f98a5defa41b55e534d8792207557d393e378 /archaeological_context_records/models.py | |
parent | caf3138871b7cba6d76a83d4d7ae5123fddf1b8e (diff) | |
download | Ishtar-ac3adb815091e4157bce75542f40e12257add364.tar.bz2 Ishtar-ac3adb815091e4157bce75542f40e12257add364.zip |
🐛 sheet geo: fix label on map view for markers (refs #6234)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 29e8b56a8..30d2d9ad7 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -1131,15 +1131,15 @@ class ContextRecord( profile = get_current_profile() precision = profile.point_precision - + current_geodata = list(self.geodata.values_list("id", flat=True)) - + q = self.base_finds.filter(main_geodata__isnull=False) url = base_url + "/show-basefind/{}/" collection_finds = GeoVectorData._get_geo_item_list( q, current_geodata, url, precision, rounded ) - + dct["finds"] = { "type": "FeatureCollection", "features": collection_finds, |