Revision e1a80c08
Added by Mikaël Ates over 12 years ago
calebasse/agenda/forms.py | ||
---|---|---|
54 | 54 |
self.fields['patient'].queryset = \ |
55 | 55 |
PatientRecord.objects.for_service(service) |
56 | 56 |
self.fields['act_type'].queryset = \ |
57 |
ActType.objects.for_service(service) |
|
57 |
ActType.objects.for_service(service) \ |
|
58 |
.order_by('name') |
|
58 | 59 |
|
59 | 60 |
def clean_duration(self): |
60 | 61 |
duration = self.cleaned_data['duration'] |
Also available in: Unified diff
agenda: order by name the list of act types.