summaryrefslogtreecommitdiff
path: root/archaeological_finds/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r--archaeological_finds/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py
index 5d1747032..2cd83c566 100644
--- a/archaeological_finds/views.py
+++ b/archaeological_finds/views.py
@@ -1331,6 +1331,8 @@ def get_geo_items(request, current_right=None):
operation_pk = request.GET.get("operation_id")
context_record_pk = request.GET.get("context_record_id")
pk = request.GET.get("pk")
+ if "external_" in operation_pk or "external_" in context_record_pk:
+ return HttpResponse("{}")
if operation_pk:
try:
item = Operation.objects.get(pk=operation_pk)