no sort nurse

report_acc_hdcase_summary
watcha.h 2016-01-08 08:18:00 +07:00
parent eb21830246
commit 160aefa860
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ class ReportCycleItem(Model):
no+=1 no+=1
nlines[index]['date_txt']=date_txt nlines[index]['date_txt']=date_txt
nlines[index]['cseq_txt']=cseq_txt nlines[index]['cseq_txt']=cseq_txt
for nurse_item in sorted(nurse_items,key=lambda nitem: nitem['nfirst_name']): for nurse_item in nurse_items:
nlines[index].update({ nlines[index].update({
'nurse': nurse_item['nurse'], 'nurse': nurse_item['nurse'],
'nfirst_name': nurse_item['nfirst_name'], 'nfirst_name': nurse_item['nfirst_name'],