diff --git a/core/views/survex.py b/core/views/survex.py
index b46f9e4..a3f7f7c 100644
--- a/core/views/survex.py
+++ b/core/views/survex.py
@@ -754,6 +754,10 @@ def survexcavesingle(request, cave_shortname):
the files and people.
But might also be a link to a single survex file with no ".svx" suffix, which may not be a cave.
+
+ If cave_shortname=="" then it used to list all caves which did not have a kataser number,
+ an accident of coding. This now does not happen.
+
"""
if cave_shortname.startswith("caves-16"):
return svx(request, cave_shortname)
diff --git a/templates/troggletoolbar.html b/templates/troggletoolbar.html
index bfd3bce..0a9427b 100644
--- a/templates/troggletoolbar.html
+++ b/templates/troggletoolbar.html
@@ -25,8 +25,7 @@
Logbook Entry |
Caves |
QMs |
- Survex |
- All Survex |
+ Survex files |
Scans |
Upload Scans |
Drawings |
diff --git a/urls.py b/urls.py
index 2ad4c1e..b03ec5d 100644
--- a/urls.py
+++ b/urls.py
@@ -296,7 +296,7 @@ trogglepatterns = [
# The survexfile pages
path('survexdir', survex.survexdir, name="survexdir"),
- path('survexfile', survex.survexcavesingle, {'cave_shortname': ''}, name="survexcavessingle"),
+ # path('survexfile', survex.survexcavesingle, {'cave_shortname': ''}, name="survexcavessingle"),
path('survexfile/caves', survex.survexcaveslist, name="survexcaveslist"),
path('survexfile/.svx', survex.svx, name="svx"),