summaryrefslogtreecommitdiffstats
path: root/expo/views_caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'expo/views_caves.py')
-rw-r--r--expo/views_caves.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/expo/views_caves.py b/expo/views_caves.py
index 02994b6..1e11602 100644
--- a/expo/views_caves.py
+++ b/expo/views_caves.py
@@ -77,12 +77,12 @@ def caveSearch(request):
def surveyindex(request):
surveys=Survey.objects.all()
- expeditions=Expedition.objects.all()
+ expeditions=Expedition.objects.order_by("-year")
return render_response(request,'survey.html',locals())
def survey(request,year,wallet_number):
surveys=Survey.objects.all()
- expeditions=Expedition.objects.all()
+ expeditions=Expedition.objects.order_by("-year")
current_expedition=Expedition.objects.filter(year=year)[0]
if wallet_number!='':