From 211465247d80364e998d58307d9b621ad1cefb9f Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 12 May 2026 02:10:57 +0100 Subject: [PATCH] remove 'reference' form *fix --- core/views/new_hole.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/views/new_hole.py b/core/views/new_hole.py index c1683d34..b5fa4e8d 100644 --- a/core/views/new_hole.py +++ b/core/views/new_hole.py @@ -427,10 +427,10 @@ def process_new_hole(form, area): ✅ Create a fixed point *fix record by inserting into :loser:/fixedpts/gps/auto.svx ✅ Do a git commit (loser) of the new GPS position ✅Create a new Cave description file - ⚡Create an associated new Entrance description file with GPS location using *fix + ✅Create an associated new Entrance description file with GPS location using *fix ✅Update the database with this new Cave - ⚡Update the database with this new Entrance - ⚡Do a git commit (expoweb) of the new Cave and Entrance description files + ✅Update the database with this new Entrance + ✅Do a git commit (expoweb) of the new Cave and Entrance description files ⚡+ Link page to go to Entrance (upload approach & photos, already done Other Station location), Wallet (auto-set related Cave & People) @@ -445,7 +445,6 @@ def process_new_hole(form, area): writes: *fix 1623.g2025-bz-06 47.6964481 13.816103 0 we do not put "reference" in the *fix because we know it is used in the Entrance we are creating - ❌BUT we DO put reference in now because we haven't written the Entrance bit of the code yet! """ @@ -463,7 +462,7 @@ def process_new_hole(form, area): def _newfix(form, area, editor, fix_id): auto_gps_file, content = get_auto_file() - fix_line = f"*fix {fix_id} reference {form.cleaned_data.get("gps_lat")} {form.cleaned_data.get("gps_long")} 0\n" + fix_line = f"*fix {fix_id} {form.cleaned_data.get("gps_lat")} {form.cleaned_data.get("gps_long")} 0\n" content += f"\n; {form.cleaned_data.get("discovery_date")} wallet: {form.cleaned_data.get("survey_wallet")} \n" content += fix_line