From a0fdc09ccf429c1473775ff04e1643224d877e20 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 13 Jul 2023 10:30:03 +0200 Subject: 🐛 fix find redirection after geo item creation/modification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/templates/ishtar/sheet_find.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_finds') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 42d7a41b9..076c20c47 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -543,6 +543,7 @@ role="tabpanel" aria-labelledby="{{window_id}}-geodata-tab">

{% trans "Geographic data" %}

+ {% with find_id=item.pk %} {% for base_find in item.base_finds.all %} {% with geo_item=base_find %}

{% if base_find.complete_identifier %}{{ base_find.complete_identifier }}{% else %}{{base_find.short_id}}{% endif %}

@@ -550,6 +551,7 @@ {% include "ishtar/blocks/sheet_geographic.html" %} {% endwith %} {% endwith %} {% endfor %} + {% endwith %} {% endif %} -- cgit v1.2.3