ernst + board got rowingbadge notification on every trip of ernst, bc last 'wanderfahrt' was removed
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2025-05-17 16:23:24 +02:00
parent 129c90f1aa
commit 5202060e2f
3 changed files with 34 additions and 42 deletions

View File

@ -367,7 +367,6 @@ ORDER BY departure DESC
min_distance: i32,
year: i32,
filter: Filter,
exclude_last_log: bool,
) -> Vec<LogbookWithBoatAndRowers> {
let logs: Vec<Logbook> = sqlx::query_as(
&format!("
@ -399,9 +398,6 @@ ORDER BY departure DESC
}
}
}
if exclude_last_log {
ret.pop();
}
ret
}