Commit 31a5bd1b authored by Marc Duez's avatar Marc Duez Committed by Mathieu Giraud

patient.py: fix

parent 9d7d21c6
......@@ -266,7 +266,7 @@ def index():
db.patient.id, db.patient.last_name, db.patient.first_name
)
for i, row in enumerate(query5) :
if row.patient.id in keys :
if row.id in keys :
result[row.id]['name'] = row.last_name + " " + row.first_name
......
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