summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py6
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,