Compare commits

..

No commits in common. "7e625cd5a50f253b8c637049140de035dcfc1e07" and "990a62fe16b931e12f088933f4de667c252f9201" have entirely different histories.

View File

@ -144,7 +144,7 @@ WHERE day=?",
let mut ret = Vec::new();
for event in events {
let cox = Registration::all_cox(db, event.id).await;
let cox = Registration::all_cox(db, event.trip_details_id).await;
let mut trip_type = None;
if let Some(trip_type_id) = event.trip_type_id {
trip_type = TripType::find_by_id(db, trip_type_id).await;