summaryrefslogtreecommitdiffstats
path: root/expo/views_caves.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:22:07 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:22:07 +0100
commit9489fe56d9a916ff55ad8390c450819b3ad3f78b (patch)
tree3a503de4ba986624723bc6d540e28fe601c762b2 /expo/views_caves.py
parent9972e28a91f5c5631e7c0711caf492152bf6812c (diff)
downloadtroggle-9489fe56d9a916ff55ad8390c450819b3ad3f78b.tar.gz
troggle-9489fe56d9a916ff55ad8390c450819b3ad3f78b.tar.bz2
troggle-9489fe56d9a916ff55ad8390c450819b3ad3f78b.zip
[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
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!='':