From 1b06243dabb7d88a2a89c0f37bd6fa69272a5bfa Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 13 May 2009 06:22:07 +0100 Subject: [svn] Improve registration system. Add jquery fade effects and quick search. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8334 by cucc @ 5/10/2009 5:23 AM --- expo/views_caves.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'expo/views_caves.py') 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!='': -- cgit v1.2.3