diff --git a/netforce_clinic/models/report_cycle_item.py b/netforce_clinic/models/report_cycle_item.py index aab3cba..ce6517f 100644 --- a/netforce_clinic/models/report_cycle_item.py +++ b/netforce_clinic/models/report_cycle_item.py @@ -298,7 +298,7 @@ class ReportCycleItem(Model): no+=1 nlines[index]['date_txt']=date_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({ 'nurse': nurse_item['nurse'], 'nfirst_name': nurse_item['nfirst_name'],