2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

fix makes prospecting_guide work

This commit is contained in:
Philip Sargent 2020-07-20 23:47:52 +01:00
parent f7db908cb2
commit 5bc2c132fa

View File

@ -337,7 +337,7 @@ def prospecting(request):
for key, name in areanames:
a = Area.objects.get(short_name = key)
caves = list(a.cave_set.all())
caves.sort(caveCmp)
caves.sort(key=caveKey)
areas.append((name, a, caves))
return render(request, 'prospecting.html', {"areas": areas})