nxdata #109

Merged
philipp merged 7 commits from nxdata into main 2024-01-01 15:51:17 +01:00
Showing only changes of commit 7e625cd5a5 - Show all commits

View File

@ -144,7 +144,7 @@ WHERE day=?",
let mut ret = Vec::new();
for event in events {
let cox = Registration::all_cox(db, event.trip_details_id).await;
let cox = Registration::all_cox(db, event.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;