staging #248

Merged
philipp merged 4 commits from staging into main 2024-03-05 13:46:00 +01:00
Showing only changes of commit 10a0e82392 - Show all commits

View File

@ -96,7 +96,7 @@ async fn show(db: &State<SqlitePool>, user: DonauLinzUser) -> Template {
) )
} }
#[get("/show?<year>")] #[get("/show?<year>", rank = 2)]
async fn show_for_year(db: &State<SqlitePool>, user: AdminUser, year: i32) -> Template { async fn show_for_year(db: &State<SqlitePool>, user: AdminUser, year: i32) -> Template {
let logs = Logbook::completed_in_year(db, year).await; let logs = Logbook::completed_in_year(db, year).await;