From ac3adb815091e4157bce75542f40e12257add364 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 20 Mar 2025 16:02:51 +0100 Subject: 🐛 sheet geo: fix label on map view for markers (refs #6234) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_context_records/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archaeological_context_records/models.py') 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, -- cgit v1.2.3