Revision a9434862
Added by Serghei Mihai about 10 years ago
calebasse/agenda/appointments.py | ||
---|---|---|
226 | 226 |
appointment_kind) |
227 | 227 |
appointment.other_services_names = services |
228 | 228 |
activity['departure'] = end_time |
229 |
appointment.weight = -1
|
|
229 |
appointment.weight = -2
|
|
230 | 230 |
appointments.append(appointment) |
231 | 231 |
|
232 | 232 |
return activity, sorted(appointments, key=lambda app: (app.begin_time, app.weight, app.event_id)) |
Also available in: Unified diff
agenda: lowering ponderation of departures to be sure it's always displayed
before arrivals
Closes #5465