2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 20:37:10 +00:00

[svn] Fixed broken buttons on controlpanel, added CAVETAB2.CSV export and download buttons and made them work too.

Changed ordering on PersonExpeditions so that it is based on their expedition. That way, even if we don't have date info on when a user was on expo exactly, pages like personindex work correctly.
This commit is contained in:
substantialnoninfringinguser
2009-05-14 06:19:46 +01:00
parent c454fecfc1
commit 57a972fae7
7 changed files with 39 additions and 16 deletions

View File

@@ -28,8 +28,7 @@ def qmRow(qm):
qmRow[headers.index(column)]=modelField.replace(u'\xd7','x').replace(u'\u201c','').replace(u'\u2013','').replace(u'\xbd','')
return qmRow
def writeQmTable(path,cave):
outfile=file(path,'w')
def writeQmTable(outfile,cave):
cavewriter=csv.writer(outfile,lineterminator='\r')
cavewriter.writerow(headers)
for qm in cave.get_QMs():