Commit d0101243 authored by Marc Duez's avatar Marc Duez

server : display correct sequence filename

parent 0d3155f3
......@@ -26,15 +26,14 @@
</thead>
<tbody>
{{
query = db(
( db.sequence_file.patient_id==db.patient.id )
& ( db.patient.id==request.vars["id"] )
).select( left=db.data_file.on(db.data_file.sequence_file_id==db.sequence_file.id) )
for row in query :}}
<tr>
<td> {{ filename = row.sequence_file.data_file
}}
{{=filename}}</td>
query = db(
( db.sequence_file.patient_id==db.patient.id )
& ( db.patient.id==request.vars["id"] )
).select( left=db.data_file.on(db.data_file.sequence_file_id==db.sequence_file.id) )
for row in query :}}
<tr>
<td> {{ (filename, str) = db.sequence_file.data_file.retrieve(row.sequence_file.data_file)}}
{{=filename}}</td>
<td> {{=row.sequence_file.sampling_date}} </td>
<td> {{=row.sequence_file.info}} </td>
<td> {{if row.data_file.id == None :}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment